Class DetectorDefinitionResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.DetectorDefinitionResourceInner
ARM resource for a detector definition.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the description property: Description of the detector.Get the displayName property: Display name of the detector.Get the isEnabled property: Flag representing whether detector is enabled or not.rank()
Get the rank property: Detector Rank.void
validate()
Validates the instance.Set the kind property: Kind of resource.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
DetectorDefinitionResourceInner
public DetectorDefinitionResourceInner()
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKind
in classProxyOnlyResource
- Parameters:
kind
- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
displayName
Get the displayName property: Display name of the detector.- Returns:
- the displayName value.
-
description
Get the description property: Description of the detector.- Returns:
- the description value.
-
rank
Get the rank property: Detector Rank.- Returns:
- the rank value.
-
isEnabled
Get the isEnabled property: Flag representing whether detector is enabled or not.- Returns:
- the isEnabled value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classProxyOnlyResource
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-