DeletedBackupInstance Class

public final class DeletedBackupInstance
extends BackupInstance

Deleted Backup Instance.

Method Summary

Modifier and Type Method and Description
CurrentProtectionState currentProtectionState()

Get the currentProtectionState property: Specifies the current protection state of the resource.

DeletionInfo deletionInfo()

Get the deletionInfo property: Deletion info of Backup Instance.

static DeletedBackupInstance fromJson(JsonReader jsonReader)

Reads an instance of DeletedBackupInstance from the JsonReader.

UserFacingError protectionErrorDetails()

Get the protectionErrorDetails property: Specifies the protection error of the resource.

ProtectionStatusDetails protectionStatus()

Get the protectionStatus property: Specifies the protection status of the resource.

String provisioningState()

Get the provisioningState property: Specifies the provisioning state of the resource i.e.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from BackupInstance

Methods inherited from java.lang.Object

Method Details

currentProtectionState

public CurrentProtectionState currentProtectionState()

Get the currentProtectionState property: Specifies the current protection state of the resource.

Overrides:

DeletedBackupInstance.currentProtectionState()

Returns:

the currentProtectionState value.

deletionInfo

public DeletionInfo deletionInfo()

Get the deletionInfo property: Deletion info of Backup Instance.

Returns:

the deletionInfo value.

fromJson

public static DeletedBackupInstance fromJson(JsonReader jsonReader)

Reads an instance of DeletedBackupInstance from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of DeletedBackupInstance if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

protectionErrorDetails

public UserFacingError protectionErrorDetails()

Get the protectionErrorDetails property: Specifies the protection error of the resource.

Overrides:

DeletedBackupInstance.protectionErrorDetails()

Returns:

the protectionErrorDetails value.

protectionStatus

public ProtectionStatusDetails protectionStatus()

Get the protectionStatus property: Specifies the protection status of the resource.

Overrides:

DeletedBackupInstance.protectionStatus()

Returns:

the protectionStatus value.

provisioningState

public String provisioningState()

Get the provisioningState property: Specifies the provisioning state of the resource i.e. provisioning/updating/Succeeded/Failed.

Overrides:

DeletedBackupInstance.provisioningState()

Returns:

the provisioningState value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

DeletedBackupInstance.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to