Class DetectorDefinitionResourceInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.appservice.models.ProxyOnlyResource
com.azure.resourcemanager.appservice.fluent.models.DetectorDefinitionResourceInner
- All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
ARM resource for a detector definition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of DetectorDefinitionResourceInner class. -
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.voidvalidate()Validates the instance.Set the kind property: Kind of resource.Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kindMethods inherited from class com.azure.core.management.ProxyResource
fromJson, id, name, toJson, type
-
Constructor Details
-
DetectorDefinitionResourceInner
public DetectorDefinitionResourceInner()Creates an instance of DetectorDefinitionResourceInner class.
-
-
Method Details
-
withKind
Set the kind property: Kind of resource.- Overrides:
withKindin 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:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-