Class ResourceHealthMetadataProperties
- java.lang.Object
-
- com.azure.resourcemanager.appservice.fluent.models.ResourceHealthMetadataProperties
-
public final class ResourceHealthMetadataProperties extends Object
ResourceHealthMetadata resource specific properties.
-
-
Constructor Summary
Constructors Constructor Description ResourceHealthMetadataProperties()
-
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.ResourceHealthMetadataPropertieswithCategory(String category)Set the category property: The category that the resource matches in the RHC Policy File.ResourceHealthMetadataPropertieswithSignalAvailability(Boolean signalAvailability)Set the signalAvailability property: Is there a health signal for the resource.
-
-
-
Method Detail
-
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 ResourceHealthMetadataProperties 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 ResourceHealthMetadataProperties object itself.
-
signalAvailability
public Boolean signalAvailability()
Get the signalAvailability property: Is there a health signal for the resource.- Returns:
- the signalAvailability value.
-
withSignalAvailability
public ResourceHealthMetadataProperties withSignalAvailability(Boolean signalAvailability)
Set the signalAvailability property: Is there a health signal for the resource.- Parameters:
signalAvailability- the signalAvailability value to set.- Returns:
- the ResourceHealthMetadataProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-