Share via


LongTermRetentionOperationResultProperties Class

  • java.lang.Object
    • com.azure.resourcemanager.sql.fluent.models.LongTermRetentionOperationResultProperties

Implements

public final class LongTermRetentionOperationResultProperties
implements JsonSerializable<LongTermRetentionOperationResultProperties>

Contains the operation result properties for long term retention backup operation.

Constructor Summary

Constructor Description
LongTermRetentionOperationResultProperties()

Creates an instance of LongTermRetentionOperationResultProperties class.

Method Summary

Modifier and Type Method and Description
String fromBackupResourceId()

Get the fromBackupResourceId property: Source backup resource id.

static LongTermRetentionOperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of LongTermRetentionOperationResultProperties from the JsonReader.

String message()

Get the message property: Progress message.

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)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

LongTermRetentionOperationResultProperties

public LongTermRetentionOperationResultProperties()

Creates an instance of LongTermRetentionOperationResultProperties class.

Method Details

fromBackupResourceId

public String fromBackupResourceId()

Get the fromBackupResourceId property: Source backup resource id.

Returns:

the fromBackupResourceId value.

fromJson

public static LongTermRetentionOperationResultProperties fromJson(JsonReader jsonReader)

Reads an instance of LongTermRetentionOperationResultProperties from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Progress message.

Returns:

the message 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)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to