Interface DescribeRestoreJobResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<DescribeRestoreJobResponse.Builder,
,DescribeRestoreJobResponse> SdkBuilder<DescribeRestoreJobResponse.Builder,
,DescribeRestoreJobResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeRestoreJobResponse
-
Method Summary
Modifier and TypeMethodDescriptionReturns the account ID that owns the restore job.backupSizeInBytes
(Long backupSizeInBytes) The size, in bytes, of the restored resource.completionDate
(Instant completionDate) The date and time that a job to restore a recovery point is completed, in Unix format and Coordinated Universal Time (UTC).createdResourceArn
(String createdResourceArn) An Amazon Resource Name (ARN) that uniquely identifies a resource whose recovery point is being restored.creationDate
(Instant creationDate) The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC).expectedCompletionTimeMinutes
(Long expectedCompletionTimeMinutes) The amount of time in minutes that a job restoring a recovery point is expected to take.iamRoleArn
(String iamRoleArn) Specifies the IAM role ARN used to create the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access
.percentDone
(String percentDone) Contains an estimated percentage that is complete of a job at the time the job status was queried.recoveryPointArn
(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
.resourceType
(String resourceType) Returns metadata associated with a restore job listed by resource type.restoreJobId
(String restoreJobId) Uniquely identifies the job that restores a recovery point.Status code specifying the state of the job that is initiated by Backup to restore a recovery point.status
(RestoreJobStatus status) Status code specifying the state of the job that is initiated by Backup to restore a recovery point.statusMessage
(String statusMessage) A message showing the status of a job to restore a recovery point.Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountId
Returns the account ID that owns the restore job.
- Parameters:
accountId
- Returns the account ID that owns the restore job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreJobId
Uniquely identifies the job that restores a recovery point.
- Parameters:
restoreJobId
- Uniquely identifies the job that restores a recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
.- Parameters:
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
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
creationDate
- The date and time that a restore job is created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 ofCompletionDate
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
- Parameters:
status
- Status code specifying the state of the job that is initiated by Backup to restore a recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status code specifying the state of the job that is initiated by Backup to restore a recovery point.
- Parameters:
status
- Status code specifying the state of the job that is initiated by Backup to restore a recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
statusMessage
A message showing the status of a job to restore a recovery point.
- Parameters:
statusMessage
- A message showing the status of a job to restore a recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentDone
Contains an estimated percentage that is complete of a job at the time the job status was queried.
- Parameters:
percentDone
- Contains an estimated percentage that is complete of a job at the time the job status was queried.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupSizeInBytes
The size, in bytes, of the restored resource.
- Parameters:
backupSizeInBytes
- The size, in bytes, of the restored resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
Specifies the IAM role ARN used to create the target recovery point; for example,
arn:aws:iam::123456789012:role/S3Access
.- Parameters:
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point; for example,arn:aws:iam::123456789012:role/S3Access
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
expectedCompletionTimeMinutes
DescribeRestoreJobResponse.Builder expectedCompletionTimeMinutes(Long expectedCompletionTimeMinutes) The amount of time in minutes that a job restoring a recovery point is expected to take.
- Parameters:
expectedCompletionTimeMinutes
- The amount of time in minutes that a job restoring a recovery point is expected to take.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
Returns metadata associated with a restore job listed by resource type.
- Parameters:
resourceType
- Returns metadata associated with a restore job listed by resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-