Class DetectorDefinitionResourceInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.DetectorDefinitionResourceInner
-
public final class DetectorDefinitionResourceInner extends ProxyOnlyResource
ARM resource for a detector definition.
-
-
Constructor Summary
Constructors Constructor Description DetectorDefinitionResourceInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Get the description property: Description of the detector.StringdisplayName()Get the displayName property: Display name of the detector.BooleanisEnabled()Get the isEnabled property: Flag representing whether detector is enabled or not.Doublerank()Get the rank property: Detector Rank.voidvalidate()Validates the instance.DetectorDefinitionResourceInnerwithKind(String kind)Set the kind property: Kind of resource.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public DetectorDefinitionResourceInner withKind(String kind)
Set the kind property: Kind of resource.- Overrides:
withKindin classProxyOnlyResource- Parameters:
kind- the kind value to set.- Returns:
- the ProxyOnlyResource object itself.
-
displayName
public String displayName()
Get the displayName property: Display name of the detector.- Returns:
- the displayName value.
-
description
public String description()
Get the description property: Description of the detector.- Returns:
- the description value.
-
rank
public Double rank()
Get the rank property: Detector Rank.- Returns:
- the rank value.
-
isEnabled
public Boolean 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-