BlobRestoreStatusInner Class

  • java.lang.Object
    • com.azure.resourcemanager.storage.fluent.models.BlobRestoreStatusInner

Implements

public final class BlobRestoreStatusInner
implements JsonSerializable<BlobRestoreStatusInner>

Blob restore status.

Constructor Summary

Constructor Description
BlobRestoreStatusInner()

Creates an instance of BlobRestoreStatusInner class.

Method Summary

Modifier and Type Method and Description
String failureReason()

Get the failureReason property: Failure reason when blob restore is failed.

static BlobRestoreStatusInner fromJson(JsonReader jsonReader)

Reads an instance of BlobRestoreStatusInner from the JsonReader.

BlobRestoreParameters parameters()

Get the parameters property: Blob restore request parameters.

String restoreId()

Get the restoreId property: Id for tracking blob restore request.

BlobRestoreProgressStatus status()

Get the status property: The status of blob restore progress.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

BlobRestoreStatusInner

public BlobRestoreStatusInner()

Creates an instance of BlobRestoreStatusInner class.

Method Details

failureReason

public String failureReason()

Get the failureReason property: Failure reason when blob restore is failed.

Returns:

the failureReason value.

fromJson

public static BlobRestoreStatusInner fromJson(JsonReader jsonReader)

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.

parameters

public BlobRestoreParameters parameters()

Get the parameters property: Blob restore request parameters.

Returns:

the parameters value.

restoreId

public String restoreId()

Get the restoreId property: Id for tracking blob restore request.

Returns:

the restoreId value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to