Interface DescribeProtectedResourceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>,SdkBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeProtectedResourceResponse
public static interface DescribeProtectedResourceResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<DescribeProtectedResourceResponse.Builder,DescribeProtectedResourceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeProtectedResourceResponse.BuilderlastBackupTime(Instant lastBackupTime)The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC).DescribeProtectedResourceResponse.BuilderlastBackupVaultArn(String lastBackupVaultArn)This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.DescribeProtectedResourceResponse.BuilderlastRecoveryPointArn(String lastRecoveryPointArn)This is the ARN (Amazon Resource Name) of the most recent recovery point.DescribeProtectedResourceResponse.BuilderlatestRestoreExecutionTimeMinutes(Long latestRestoreExecutionTimeMinutes)This is the time in minutes the most recent restore job took to complete.DescribeProtectedResourceResponse.BuilderlatestRestoreJobCreationDate(Instant latestRestoreJobCreationDate)This is the creation date of the most recent restore job.DescribeProtectedResourceResponse.BuilderlatestRestoreRecoveryPointCreationDate(Instant latestRestoreRecoveryPointCreationDate)This is the date the most recent recovery point was created.DescribeProtectedResourceResponse.BuilderresourceArn(String resourceArn)An ARN that uniquely identifies a resource.DescribeProtectedResourceResponse.BuilderresourceName(String resourceName)This is the non-unique name of the resource that belongs to the specified backup.DescribeProtectedResourceResponse.BuilderresourceType(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 Detail
-
resourceArn
DescribeProtectedResourceResponse.Builder resourceArn(String 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
DescribeProtectedResourceResponse.Builder 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.
- 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
DescribeProtectedResourceResponse.Builder lastBackupTime(Instant lastBackupTime)
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of
LastBackupTimeis 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 ofLastBackupTimeis 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
DescribeProtectedResourceResponse.Builder resourceName(String 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
DescribeProtectedResourceResponse.Builder lastBackupVaultArn(String 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
DescribeProtectedResourceResponse.Builder lastRecoveryPointArn(String 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.
-
-