Class LongTermRetentionOperationResultProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.LongTermRetentionOperationResultProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<LongTermRetentionOperationResultProperties>
public final class LongTermRetentionOperationResultProperties
extends Object
implements com.azure.json.JsonSerializable<LongTermRetentionOperationResultProperties>
Contains the operation result properties for long term retention backup operation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of LongTermRetentionOperationResultProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the fromBackupResourceId property: Source backup resource id.fromJson(com.azure.json.JsonReader jsonReader) Reads an instance of LongTermRetentionOperationResultProperties from the JsonReader.message()Get the message property: Progress message.Get the operationType property: Operation type.Get the requestId property: Request Id.status()Get the status property: Operation status.Get the targetBackupStorageRedundancy property: The storage redundancy type of the copied backup.Get the toBackupResourceId property: Target backup resource id.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
-
LongTermRetentionOperationResultProperties
public LongTermRetentionOperationResultProperties()Creates an instance of LongTermRetentionOperationResultProperties class.
-
-
Method Details
-
requestId
-
operationType
Get the operationType property: Operation type.- Returns:
- the operationType value.
-
fromBackupResourceId
Get the fromBackupResourceId property: Source backup resource id.- Returns:
- the fromBackupResourceId value.
-
toBackupResourceId
Get the toBackupResourceId property: Target backup resource id.- Returns:
- the toBackupResourceId value.
-
targetBackupStorageRedundancy
Get the targetBackupStorageRedundancy property: The storage redundancy type of the copied backup.- Returns:
- the targetBackupStorageRedundancy value.
-
status
-
message
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<LongTermRetentionOperationResultProperties>- Throws:
IOException
-
fromJson
public static LongTermRetentionOperationResultProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException 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.
-