Class BlobRestoreStatusInner

java.lang.Object
com.azure.resourcemanager.storage.fluent.models.BlobRestoreStatusInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<BlobRestoreStatusInner>

public final class BlobRestoreStatusInner extends Object implements com.azure.json.JsonSerializable<BlobRestoreStatusInner>
Blob restore status.
  • Constructor Details

    • BlobRestoreStatusInner

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

    • status

      public BlobRestoreProgressStatus status()
      Get the status property: The status of blob restore progress. Possible values are: - InProgress: Indicates that blob restore is ongoing. - Complete: Indicates that blob restore has been completed successfully. - Failed: Indicates that blob restore is failed.
      Returns:
      the status value.
    • failureReason

      public String failureReason()
      Get the failureReason property: Failure reason when blob restore is failed.
      Returns:
      the failureReason value.
    • restoreId

      public String restoreId()
      Get the restoreId property: Id for tracking blob restore request.
      Returns:
      the restoreId value.
    • parameters

      public BlobRestoreParameters parameters()
      Get the parameters property: Blob restore request parameters.
      Returns:
      the parameters value.
    • validate

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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<BlobRestoreStatusInner>
      Throws:
      IOException
    • fromJson

      public static BlobRestoreStatusInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of BlobRestoreStatusInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of BlobRestoreStatusInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IOException - If an error occurs while reading the BlobRestoreStatusInner.