Interface DescribeProtectedResourceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BackupResponse.Builder
,Buildable
,CopyableBuilder<DescribeProtectedResourceResponse.Builder,
,DescribeProtectedResourceResponse> SdkBuilder<DescribeProtectedResourceResponse.Builder,
,DescribeProtectedResourceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeProtectedResourceResponse
-
Method Summary
Modifier and TypeMethodDescriptionlastBackupTime
(Instant lastBackupTime) The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).lastBackupVaultArn
(String lastBackupVaultArn) This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.lastRecoveryPointArn
(String lastRecoveryPointArn) This is the ARN (Amazon Resource Name) of the most recent recovery point.latestRestoreExecutionTimeMinutes
(Long latestRestoreExecutionTimeMinutes) This is the time in minutes the most recent restore job took to complete.latestRestoreJobCreationDate
(Instant latestRestoreJobCreationDate) This is the creation date of the most recent restore job.latestRestoreRecoveryPointCreationDate
(Instant latestRestoreRecoveryPointCreationDate) This is the date the most recent recovery point was created.resourceArn
(String resourceArn) An ARN that uniquely identifies a resource.resourceName
(String resourceName) This is the non-unique name of the resource that belongs to the specified backup.resourceType
(String resourceType) The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.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
-
resourceArn
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
- Parameters:
resourceArn
- An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceType
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
- Parameters:
resourceType
- The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastBackupTime
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of
LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastBackupTime
- The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value ofLastBackupTime
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.
-
resourceName
This is the non-unique name of the resource that belongs to the specified backup.
- Parameters:
resourceName
- This is the non-unique name of the resource that belongs to the specified backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastBackupVaultArn
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
- Parameters:
lastBackupVaultArn
- This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRecoveryPointArn
This is the ARN (Amazon Resource Name) of the most recent recovery point.
- Parameters:
lastRecoveryPointArn
- This is the ARN (Amazon Resource Name) of the most recent recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRestoreExecutionTimeMinutes
DescribeProtectedResourceResponse.Builder latestRestoreExecutionTimeMinutes(Long latestRestoreExecutionTimeMinutes) This is the time in minutes the most recent restore job took to complete.
- Parameters:
latestRestoreExecutionTimeMinutes
- This is the time in minutes the most recent restore job took to complete.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRestoreJobCreationDate
DescribeProtectedResourceResponse.Builder latestRestoreJobCreationDate(Instant latestRestoreJobCreationDate) This is the creation date of the most recent restore job.
- Parameters:
latestRestoreJobCreationDate
- This is the creation date of the most recent restore job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestRestoreRecoveryPointCreationDate
DescribeProtectedResourceResponse.Builder latestRestoreRecoveryPointCreationDate(Instant latestRestoreRecoveryPointCreationDate) This is the date the most recent recovery point was created.
- Parameters:
latestRestoreRecoveryPointCreationDate
- This is the date the most recent recovery point was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-