BackupRestoreRequestBaseProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. BackupRestoreRequestBaseProperties
- com.
Implements
public class BackupRestoreRequestBaseProperties
implements JsonSerializable<BackupRestoreRequestBaseProperties>
Backup and Restore Common properties.
Constructor Summary
| Constructor | Description |
|---|---|
| BackupRestoreRequestBaseProperties() |
Creates an instance of Backup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureStorageBlobContainerUri()
Get the azure |
|
static
Backup |
fromJson(JsonReader jsonReader)
Reads an instance of Backup |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
token()
Get the token property: The SAS token pointing to an Azure blob storage container. |
| void |
validate()
Validates the instance. |
|
Backup |
withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azure |
|
Backup |
withToken(String token)
Set the token property: The SAS token pointing to an Azure blob storage container. |
Methods inherited from java.lang.Object
Constructor Details
BackupRestoreRequestBaseProperties
public BackupRestoreRequestBaseProperties()
Creates an instance of BackupRestoreRequestBaseProperties class.
Method Details
azureStorageBlobContainerUri
public String azureStorageBlobContainerUri()
Get the azureStorageBlobContainerUri property: The Azure blob storage container Uri which contains the backup.
Returns:
fromJson
public static BackupRestoreRequestBaseProperties fromJson(JsonReader jsonReader)
Reads an instance of BackupRestoreRequestBaseProperties from the JsonReader.
Parameters:
Returns:
Throws:
toJson
token
public String token()
Get the token property: The SAS token pointing to an Azure blob storage container. This property is reserved for Azure Backup Service.
Returns:
validate
public void validate()
Validates the instance.
withAzureStorageBlobContainerUri
public BackupRestoreRequestBaseProperties withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azureStorageBlobContainerUri property: The Azure blob storage container Uri which contains the backup.
Parameters:
Returns:
withToken
public BackupRestoreRequestBaseProperties 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.
Parameters:
Returns: