RestoreRequestProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. BackupRestoreRequestBaseProperties - com.
azure. resourcemanager. hardwaresecuritymodules. models. RestoreRequestProperties
- com.
- com.
public final class RestoreRequestProperties
extends BackupRestoreRequestBaseProperties
Cloud Hsm Cluster restore information.
Constructor Summary
| Constructor | Description |
|---|---|
| RestoreRequestProperties() |
Creates an instance of Restore |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
backupId()
Get the backup |
|
static
Restore |
fromJson(JsonReader jsonReader)
Reads an instance of Restore |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Restore |
withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azure |
|
Restore |
withBackupId(String backupId)
Set the backup |
|
Restore |
withToken(String token)
Set the token property: The SAS token pointing to an Azure blob storage container. |
Methods inherited from BackupRestoreRequestBaseProperties
Methods inherited from java.lang.Object
Constructor Details
RestoreRequestProperties
public RestoreRequestProperties()
Creates an instance of RestoreRequestProperties class.
Method Details
backupId
public String backupId()
Get the backupId property: An autogenerated unique string ID for labeling the backup. It contains both a UUID and a date timestamp.
Returns:
fromJson
public static RestoreRequestProperties fromJson(JsonReader jsonReader)
Reads an instance of RestoreRequestProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
RestoreRequestProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
RestoreRequestProperties.validate()withAzureStorageBlobContainerUri
public RestoreRequestProperties withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azureStorageBlobContainerUri property: The Azure blob storage container Uri which contains the backup.
Overrides:
RestoreRequestProperties.withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)Parameters:
withBackupId
public RestoreRequestProperties withBackupId(String backupId)
Set the backupId property: An autogenerated unique string ID for labeling the backup. It contains both a UUID and a date timestamp.
Parameters:
Returns:
withToken
public RestoreRequestProperties withToken(String token)
Set the token property: The SAS token pointing to an Azure blob storage container. This property is reserved for Azure Backup Service.
Overrides:
RestoreRequestProperties.withToken(String token)Parameters: