Class AmlFilesystemHealth

java.lang.Object
com.azure.resourcemanager.storagecache.models.AmlFilesystemHealth

public final class AmlFilesystemHealth extends Object
An indication of AML file system health. Gives more information about health than just that related to provisioning.
  • 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

      public String statusCode()
      Get the statusCode property: Server-defined error code for the AML file system health.
      Returns:
      the statusCode value.
    • withStatusCode

      public AmlFilesystemHealth withStatusCode(String statusCode)
      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

      public String statusDescription()
      Get the statusDescription property: Describes the health state.
      Returns:
      the statusDescription value.
    • withStatusDescription

      public AmlFilesystemHealth withStatusDescription(String statusDescription)
      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.