Class ResourceHealthMetadataInner
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.appservice.models.ProxyOnlyResource
-
- com.azure.resourcemanager.appservice.fluent.models.ResourceHealthMetadataInner
-
public final class ResourceHealthMetadataInner extends ProxyOnlyResource
Used for getting ResourceHealthCheck settings.
-
-
Constructor Summary
Constructors Constructor Description ResourceHealthMetadataInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcategory()Get the category property: The category that the resource matches in the RHC Policy File.BooleansignalAvailability()Get the signalAvailability property: Is there a health signal for the resource.voidvalidate()Validates the instance.ResourceHealthMetadataInnerwithCategory(String category)Set the category property: The category that the resource matches in the RHC Policy File.ResourceHealthMetadataInnerwithKind(String kind)Set the kind property: Kind of resource.ResourceHealthMetadataInnerwithSignalAvailability(Boolean signalAvailability)Set the signalAvailability property: Is there a health signal for the resource.-
Methods inherited from class com.azure.resourcemanager.appservice.models.ProxyOnlyResource
kind
-
-
-
-
Method Detail
-
withKind
public ResourceHealthMetadataInner 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.
-
category
public String category()
Get the category property: The category that the resource matches in the RHC Policy File.- Returns:
- the category value.
-
withCategory
public ResourceHealthMetadataInner withCategory(String category)
Set the category property: The category that the resource matches in the RHC Policy File.- Parameters:
category- the category value to set.- Returns:
- the ResourceHealthMetadataInner object itself.
-
signalAvailability
public Boolean signalAvailability()
Get the signalAvailability property: Is there a health signal for the resource.- Returns:
- the signalAvailability value.
-
withSignalAvailability
public ResourceHealthMetadataInner withSignalAvailability(Boolean signalAvailability)
Set the signalAvailability property: Is there a health signal for the resource.- Parameters:
signalAvailability- the signalAvailability value to set.- Returns:
- the ResourceHealthMetadataInner object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classProxyOnlyResource- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-