BackupRestoreBaseResultProperties Class
- java.
lang. Object - com.
azure. resourcemanager. hardwaresecuritymodules. models. BackupRestoreBaseResultProperties
- com.
Implements
public class BackupRestoreBaseResultProperties
implements JsonSerializable<BackupRestoreBaseResultProperties>
Backup and Restore operation common properties.
Constructor Summary
| Modifier | Constructor | Description |
|---|---|---|
| protected | BackupRestoreBaseResultProperties() |
Creates an instance of Backup |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Offset |
endTime()
Get the end |
|
Management |
error()
Get the error property: Error encountered, if any, during the backup/restore operation. |
|
static
Backup |
fromJson(JsonReader jsonReader)
Reads an instance of Backup |
| String |
jobId()
Get the job |
|
Offset |
startTime()
Get the start |
|
Backup |
status()
Get the status property: Status of the backup/restore operation. |
| String |
statusDetails()
Get the status |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
BackupRestoreBaseResultProperties
protected BackupRestoreBaseResultProperties()
Creates an instance of BackupRestoreBaseResultProperties class.
Method Details
endTime
public OffsetDateTime endTime()
Get the endTime property: The end time of the backup/restore operation in UTC.
Returns:
error
public ManagementError error()
Get the error property: Error encountered, if any, during the backup/restore operation.
Returns:
fromJson
public static BackupRestoreBaseResultProperties fromJson(JsonReader jsonReader)
Reads an instance of BackupRestoreBaseResultProperties from the JsonReader.
Parameters:
Returns:
Throws:
jobId
public String jobId()
Get the jobId property: Identifier for the backup/restore operation.
Returns:
startTime
public OffsetDateTime startTime()
Get the startTime property: The start time of the backup/restore operation in UTC.
Returns:
status
public BackupRestoreOperationStatus status()
Get the status property: Status of the backup/restore operation.
Returns:
statusDetails
public String statusDetails()
Get the statusDetails property: The status details of backup/restore operation.
Returns:
toJson
validate
public void validate()
Validates the instance.