Class StorageInsightStatus

java.lang.Object
com.azure.resourcemanager.loganalytics.models.StorageInsightStatus

public final class StorageInsightStatus extends Object
The status of the storage insight.
  • Constructor Details

    • StorageInsightStatus

      public StorageInsightStatus()
  • Method Details

    • state

      public StorageInsightState state()
      Get the state property: The state of the storage insight connection to the workspace.
      Returns:
      the state value.
    • withState

      public StorageInsightStatus withState(StorageInsightState state)
      Set the state property: The state of the storage insight connection to the workspace.
      Parameters:
      state - the state value to set.
      Returns:
      the StorageInsightStatus object itself.
    • description

      public String description()
      Get the description property: Description of the state of the storage insight.
      Returns:
      the description value.
    • withDescription

      public StorageInsightStatus withDescription(String description)
      Set the description property: Description of the state of the storage insight.
      Parameters:
      description - the description value to set.
      Returns:
      the StorageInsightStatus object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.