Class CacheHealth
java.lang.Object
com.azure.resourcemanager.storagecache.models.CacheHealth
An indication of Cache health. Gives more information about health than just that related to provisioning.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the conditions property: Outstanding conditions that need to be investigated and resolved.state()
Get the state property: List of Cache health states.Get the statusDescription property: Describes explanation of state.void
validate()
Validates the instance.withState
(HealthStateType state) Set the state property: List of Cache health states.withStatusDescription
(String statusDescription) Set the statusDescription property: Describes explanation of state.
-
Constructor Details
-
CacheHealth
public CacheHealth()
-
-
Method Details
-
state
Get the state property: List of Cache health states.- Returns:
- the state value.
-
withState
Set the state property: List of Cache health states.- Parameters:
state
- the state value to set.- Returns:
- the CacheHealth object itself.
-
statusDescription
Get the statusDescription property: Describes explanation of state.- Returns:
- the statusDescription value.
-
withStatusDescription
Set the statusDescription property: Describes explanation of state.- Parameters:
statusDescription
- the statusDescription value to set.- Returns:
- the CacheHealth object itself.
-
conditions
Get the conditions property: Outstanding conditions that need to be investigated and resolved.- Returns:
- the conditions value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-