@Generated(value="software.amazon.awssdk:codegen") public final class DescribeRestoreJobResponse extends BackupResponse implements ToCopyableBuilder<DescribeRestoreJobResponse.Builder,DescribeRestoreJobResponse>
| Modifier and Type | Class and Description |
|---|---|
static interface |
DescribeRestoreJobResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
Returns the account ID that owns the restore job.
|
Long |
backupSizeInBytes()
The size, in bytes, of the restored resource.
|
static DescribeRestoreJobResponse.Builder |
builder() |
Instant |
completionDate()
The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal
Time (UTC).
|
String |
createdResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.
|
Instant |
creationDate()
The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC).
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
expectedCompletionTimeMinutes()
The amount of time in minutes that a job restoring a recovery point is expected to take.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
iamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access. |
String |
percentDone()
Contains an estimated percentage that is complete of a job at the time the job status was queried.
|
String |
recoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45. |
String |
resourceType()
Returns metadata associated with a restore job listed by resource type.
|
String |
restoreJobId()
Uniquely identifies the job that restores a recovery point.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends DescribeRestoreJobResponse.Builder> |
serializableBuilderClass() |
RestoreJobStatus |
status()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
String |
statusAsString()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
|
String |
statusMessage()
A message showing the status of a job to restore a recovery point.
|
DescribeRestoreJobResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accountId()
Returns the account ID that owns the restore job.
public final String restoreJobId()
Uniquely identifies the job that restores a recovery point.
public final String recoveryPointArn()
An ARN that uniquely identifies a recovery point; for example,
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.
arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.public final Instant creationDate()
The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value
of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents
Friday, January 26, 2018 12:11:30.087 AM.
CreationDate is accurate to milliseconds. For example, the value 1516925490.087
represents Friday, January 26, 2018 12:11:30.087 AM.public final Instant completionDate()
The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal
Time (UTC). The value of CompletionDate is accurate to milliseconds. For example, the value
1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
CompletionDate is accurate to milliseconds. For example,
the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.public final RestoreJobStatus status()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
If the service returns an enum value that is not available in the current SDK version, status will
return RestoreJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RestoreJobStatuspublic final String statusAsString()
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
If the service returns an enum value that is not available in the current SDK version, status will
return RestoreJobStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statusAsString().
RestoreJobStatuspublic final String statusMessage()
A message showing the status of a job to restore a recovery point.
public final String percentDone()
Contains an estimated percentage that is complete of a job at the time the job status was queried.
public final Long backupSizeInBytes()
The size, in bytes, of the restored resource.
public final String iamRoleArn()
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access.
arn:aws:iam::123456789012:role/S3Access.public final Long expectedCompletionTimeMinutes()
The amount of time in minutes that a job restoring a recovery point is expected to take.
public final String createdResourceArn()
An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored. The format of the ARN depends on the resource type of the backed-up resource.
public final String resourceType()
Returns metadata associated with a restore job listed by resource type.
public DescribeRestoreJobResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DescribeRestoreJobResponse.Builder,DescribeRestoreJobResponse>toBuilder in class AwsResponsepublic static DescribeRestoreJobResponse.Builder builder()
public static Class<? extends DescribeRestoreJobResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2023. All rights reserved.