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 Summary
ConstructorsConstructorDescriptionCreates an instance of BlobRestoreStatusInner class. -
Method Summary
Modifier and TypeMethodDescriptionGet the failureReason property: Failure reason when blob restore is failed.static BlobRestoreStatusInnerfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of BlobRestoreStatusInner from the JsonReader.Get the parameters property: Blob restore request parameters.Get the restoreId property: Id for tracking blob restore request.status()Get the status property: The status of blob restore progress.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
BlobRestoreStatusInner
public BlobRestoreStatusInner()Creates an instance of BlobRestoreStatusInner class.
-
-
Method Details
-
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
Get the failureReason property: Failure reason when blob restore is failed.- Returns:
- the failureReason value.
-
restoreId
Get the restoreId property: Id for tracking blob restore request.- Returns:
- the restoreId value.
-
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
- Specified by:
toJsonin interfacecom.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.
-