Class AmlFilesystemHealth
java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemHealth
An indication of AML file system health. Gives more information about health than just that related to provisioning.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstate()
Get the state property: List of AML file system health states.Get the statusCode property: Server-defined error code for the AML file system health.Get the statusDescription property: Describes the health state.void
validate()
Validates the instance.Set the state property: List of AML file system health states.withStatusCode
(String statusCode) Set the statusCode property: Server-defined error code for the AML file system health.withStatusDescription
(String statusDescription) Set the statusDescription property: Describes the health state.
-
Constructor Details
-
AmlFilesystemHealth
public AmlFilesystemHealth()Creates an instance of AmlFilesystemHealth class.
-
-
Method Details
-
state
Get the state property: List of AML file system health states.- Returns:
- the state value.
-
withState
Set the state property: List of AML file system health states.- Parameters:
state
- the state value to set.- Returns:
- the AmlFilesystemHealth object itself.
-
statusCode
Get the statusCode property: Server-defined error code for the AML file system health.- Returns:
- the statusCode value.
-
withStatusCode
Set the statusCode property: Server-defined error code for the AML file system health.- Parameters:
statusCode
- the statusCode value to set.- Returns:
- the AmlFilesystemHealth object itself.
-
statusDescription
Get the statusDescription property: Describes the health state.- Returns:
- the statusDescription value.
-
withStatusDescription
Set the statusDescription property: Describes the health state.- Parameters:
statusDescription
- the statusDescription value to set.- Returns:
- the AmlFilesystemHealth object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-