Class AmlFilesystemArchiveStatus

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

public final class AmlFilesystemArchiveStatus extends Object
The status of the archive.
  • Constructor Details

    • AmlFilesystemArchiveStatus

      public AmlFilesystemArchiveStatus()
      Creates an instance of AmlFilesystemArchiveStatus class.
  • Method Details

    • state

      public ArchiveStatusType state()
      Get the state property: The state of the archive operation.
      Returns:
      the state value.
    • lastCompletionTime

      public OffsetDateTime lastCompletionTime()
      Get the lastCompletionTime property: The time of the last completed archive operation.
      Returns:
      the lastCompletionTime value.
    • lastStartedTime

      public OffsetDateTime lastStartedTime()
      Get the lastStartedTime property: The time the latest archive operation started.
      Returns:
      the lastStartedTime value.
    • percentComplete

      public Integer percentComplete()
      Get the percentComplete property: The completion percentage of the archive operation.
      Returns:
      the percentComplete value.
    • errorCode

      public String errorCode()
      Get the errorCode property: Server-defined error code for the archive operation.
      Returns:
      the errorCode value.
    • errorMessage

      public String errorMessage()
      Get the errorMessage property: Server-defined error message for the archive operation.
      Returns:
      the errorMessage value.
    • validate

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