BackupResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. BackupRestoreBaseResultProperties - com.
azure. resourcemanager. hardwaresecuritymodules. models. BackupResultProperties
- com.
- com.
public final class BackupResultProperties
extends BackupRestoreBaseResultProperties
Properties of the Cloud HSM Cluster.
Constructor Summary
| Constructor | Description |
|---|---|
| BackupResultProperties() |
Creates an instance of Backup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
azureStorageBlobContainerUri()
Get the azure |
| String |
backupId()
Get the backup |
|
Offset |
endTime()
Get the end |
|
static
Backup |
fromJson(JsonReader jsonReader)
Reads an instance of Backup |
|
Offset |
startTime()
Get the start |
|
Backup |
status()
Get the status property: Status of the backup/restore operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Backup |
withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azure |
|
Backup |
withBackupId(String backupId)
Set the backup |
|
Backup |
withError(ManagementError error)
Set the error property: Error encountered, if any, during the backup/restore operation. |
|
Backup |
withJobId(String jobId)
Set the job |
|
Backup |
withStatusDetails(String statusDetails)
Set the status |
Methods inherited from BackupRestoreBaseResultProperties
Methods inherited from java.lang.Object
Constructor Details
BackupResultProperties
public BackupResultProperties()
Creates an instance of BackupResultProperties class.
Method Details
azureStorageBlobContainerUri
public String azureStorageBlobContainerUri()
Get the azureStorageBlobContainerUri property: The Azure blob storage container Uri which contains the backup.
Returns:
backupId
public String backupId()
Get the backupId property: The ID of the backup.
Returns:
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the backup/restore operation in UTC.
Overrides:
BackupResultProperties.endTime()Returns:
fromJson
public static BackupResultProperties fromJson(JsonReader jsonReader)
Reads an instance of BackupResultProperties from the JsonReader.
Parameters:
Returns:
Throws:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the backup/restore operation in UTC.
Overrides:
BackupResultProperties.startTime()Returns:
status
public BackupRestoreOperationStatus status()
Get the status property: Status of the backup/restore operation.
Overrides:
BackupResultProperties.status()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
BackupResultProperties.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
BackupResultProperties.validate()withAzureStorageBlobContainerUri
public BackupResultProperties withAzureStorageBlobContainerUri(String azureStorageBlobContainerUri)
Set the azureStorageBlobContainerUri property: The Azure blob storage container Uri which contains the backup.
Parameters:
Returns:
withBackupId
public BackupResultProperties withBackupId(String backupId)
Set the backupId property: The ID of the backup.
Parameters:
Returns:
withError
public BackupResultProperties withError(ManagementError error)
Set the error property: Error encountered, if any, during the backup/restore operation.
Overrides:
BackupResultProperties.withError(ManagementError error)Parameters:
withJobId
public BackupResultProperties withJobId(String jobId)
Set the jobId property: Identifier for the backup/restore operation.
Overrides:
BackupResultProperties.withJobId(String jobId)Parameters:
withStatusDetails
public BackupResultProperties withStatusDetails(String statusDetails)
Set the statusDetails property: The status details of backup/restore operation.
Overrides:
BackupResultProperties.withStatusDetails(String statusDetails)Parameters: