Partager via


LongTermRetentionBackupOperationResultInner Class

public final class LongTermRetentionBackupOperationResultInner
extends ProxyResource

A LongTermRetentionBackup operation result resource.

Constructor Summary

Constructor Description
LongTermRetentionBackupOperationResultInner()

Creates an instance of LongTermRetentionBackupOperationResultInner class.

Method Summary

Modifier and Type Method and Description
String fromBackupResourceId()

Get the fromBackupResourceId property: Source backup resource id.

static LongTermRetentionBackupOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of LongTermRetentionBackupOperationResultInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

String message()

Get the message property: Progress message.

String name()

Get the name property: The name of the resource.

String operationType()

Get the operationType property: Operation type.

UUID requestId()

Get the requestId property: Request Id.

String status()

Get the status property: Operation status.

BackupStorageRedundancy targetBackupStorageRedundancy()

Get the targetBackupStorageRedundancy property: The storage redundancy type of the copied backup.

String toBackupResourceId()

Get the toBackupResourceId property: Target backup resource id.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Constructor Details

LongTermRetentionBackupOperationResultInner

public LongTermRetentionBackupOperationResultInner()

Creates an instance of LongTermRetentionBackupOperationResultInner class.

Method Details

fromBackupResourceId

public String fromBackupResourceId()

Get the fromBackupResourceId property: Source backup resource id.

Returns:

the fromBackupResourceId value.

fromJson

public static LongTermRetentionBackupOperationResultInner fromJson(JsonReader jsonReader)

Reads an instance of LongTermRetentionBackupOperationResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LongTermRetentionBackupOperationResultInner 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.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

LongTermRetentionBackupOperationResultInner.id()

Returns:

the id value.

message

public String message()

Get the message property: Progress message.

Returns:

the message value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

LongTermRetentionBackupOperationResultInner.name()

Returns:

the name value.

operationType

public String operationType()

Get the operationType property: Operation type.

Returns:

the operationType value.

requestId

public UUID requestId()

Get the requestId property: Request Id.

Returns:

the requestId value.

status

public String status()

Get the status property: Operation status.

Returns:

the status value.

targetBackupStorageRedundancy

public BackupStorageRedundancy targetBackupStorageRedundancy()

Get the targetBackupStorageRedundancy property: The storage redundancy type of the copied backup.

Returns:

the targetBackupStorageRedundancy value.

toBackupResourceId

public String toBackupResourceId()

Get the toBackupResourceId property: Target backup resource id.

Returns:

the toBackupResourceId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

LongTermRetentionBackupOperationResultInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

LongTermRetentionBackupOperationResultInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to