Interface AwsBackupRecoveryPointDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsBackupRecoveryPointDetails.Builder,
,AwsBackupRecoveryPointDetails> SdkBuilder<AwsBackupRecoveryPointDetails.Builder,
,AwsBackupRecoveryPointDetails> SdkPojo
- Enclosing class:
AwsBackupRecoveryPointDetails
-
Method Summary
Modifier and TypeMethodDescriptionbackupSizeInBytes
(Long backupSizeInBytes) The size, in bytes, of a backup.backupVaultArn
(String backupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies a backup vault.backupVaultName
(String backupVaultName) The name of a logical container where backups are stored.calculatedLifecycle
(Consumer<AwsBackupRecoveryPointCalculatedLifecycleDetails.Builder> calculatedLifecycle) ACalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.calculatedLifecycle
(AwsBackupRecoveryPointCalculatedLifecycleDetails calculatedLifecycle) ACalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.completionDate
(String completionDate) The date and time that a job to create a recovery point is completed, in Unix format and UTC.Contains identifying information about the creation of a recovery point, including theBackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.createdBy
(AwsBackupRecoveryPointCreatedByDetails createdBy) Contains identifying information about the creation of a recovery point, including theBackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.creationDate
(String creationDate) The date and time a recovery point is created, in Unix format and UTC.encryptionKeyArn
(String encryptionKeyArn) The ARN for the server-side encryption key that is used to protect your backups.iamRoleArn
(String iamRoleArn) Specifies the IAM role ARN used to create the target recovery pointisEncrypted
(Boolean isEncrypted) A Boolean value that is returned asTRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.lastRestoreTime
(String lastRestoreTime) The date and time that a recovery point was last restored, in Unix format and UTC.The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.lifecycle
(AwsBackupRecoveryPointLifecycleDetails lifecycle) The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.recoveryPointArn
(String recoveryPointArn) An ARN that uniquely identifies a recovery point.resourceArn
(String resourceArn) An ARN that uniquely identifies a resource.resourceType
(String resourceType) The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.sourceBackupVaultArn
(String sourceBackupVaultArn) The ARN for the backup vault where the recovery point was originally copied from.A status code specifying the state of the recovery point.statusMessage
(String statusMessage) A message explaining the reason of the recovery point deletion failure.storageClass
(String storageClass) Specifies the storage class of the recovery point.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
-
Method Details
-
backupSizeInBytes
The size, in bytes, of a backup.
- Parameters:
backupSizeInBytes
- The size, in bytes, of a backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
- Parameters:
backupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies a backup vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
backupVaultName
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
- Parameters:
backupVaultName
- The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedLifecycle
AwsBackupRecoveryPointDetails.Builder calculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails calculatedLifecycle) A
CalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.- Parameters:
calculatedLifecycle
- ACalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
calculatedLifecycle
default AwsBackupRecoveryPointDetails.Builder calculatedLifecycle(Consumer<AwsBackupRecoveryPointCalculatedLifecycleDetails.Builder> calculatedLifecycle) A
This is a convenience method that creates an instance of theCalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.AwsBackupRecoveryPointCalculatedLifecycleDetails.Builder
avoiding the need to create one manually viaAwsBackupRecoveryPointCalculatedLifecycleDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails)
.- Parameters:
calculatedLifecycle
- a consumer that will call methods onAwsBackupRecoveryPointCalculatedLifecycleDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
completionDate
The date and time that a job to create a recovery point is completed, in Unix format and 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 create a recovery point is completed, in Unix format and 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.
-
createdBy
Contains identifying information about the creation of a recovery point, including the
BackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.- Parameters:
createdBy
- Contains identifying information about the creation of a recovery point, including theBackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
default AwsBackupRecoveryPointDetails.Builder createdBy(Consumer<AwsBackupRecoveryPointCreatedByDetails.Builder> createdBy) Contains identifying information about the creation of a recovery point, including the
This is a convenience method that creates an instance of theBackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.AwsBackupRecoveryPointCreatedByDetails.Builder
avoiding the need to create one manually viaAwsBackupRecoveryPointCreatedByDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(AwsBackupRecoveryPointCreatedByDetails)
.- Parameters:
createdBy
- a consumer that will call methods onAwsBackupRecoveryPointCreatedByDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationDate
The date and time a recovery point is created, in Unix format and 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 a recovery point is created, in Unix format and 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.
-
encryptionKeyArn
The ARN for the server-side encryption key that is used to protect your backups.
- Parameters:
encryptionKeyArn
- The ARN for the server-side encryption key that is used to protect your backups.- 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
- Parameters:
iamRoleArn
- Specifies the IAM role ARN used to create the target recovery point- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEncrypted
A Boolean value that is returned as
TRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.- Parameters:
isEncrypted
- A Boolean value that is returned asTRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRestoreTime
The date and time that a recovery point was last restored, in Unix format and UTC. The value of
LastRestoreTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Parameters:
lastRestoreTime
- The date and time that a recovery point was last restored, in Unix format and UTC. The value ofLastRestoreTime
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.
-
lifecycle
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define
- Parameters:
lifecycle
- The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
default AwsBackupRecoveryPointDetails.Builder lifecycle(Consumer<AwsBackupRecoveryPointLifecycleDetails.Builder> lifecycle) The lifecycle defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define
This is a convenience method that creates an instance of theAwsBackupRecoveryPointLifecycleDetails.Builder
avoiding the need to create one manually viaAwsBackupRecoveryPointLifecycleDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycle(AwsBackupRecoveryPointLifecycleDetails)
.- Parameters:
lifecycle
- a consumer that will call methods onAwsBackupRecoveryPointLifecycleDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recoveryPointArn
An ARN that uniquely identifies a recovery point.
- Parameters:
recoveryPointArn
- An ARN that uniquely identifies a recovery point.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, such as an Amazon EBS volume or an Amazon RDS database.
- Parameters:
resourceType
- The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBackupVaultArn
The ARN for the backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account, this value will be null.
- Parameters:
sourceBackupVaultArn
- The ARN for the backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account, this value will be null.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
A status code specifying the state of the recovery point. Valid values are as follows:
-
COMPLETED
-
DELETING
-
EXPIRED
-
PARTIAL
- Parameters:
status
- A status code specifying the state of the recovery point. Valid values are as follows:-
COMPLETED
-
DELETING
-
EXPIRED
-
PARTIAL
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
statusMessage
A message explaining the reason of the recovery point deletion failure.
- Parameters:
statusMessage
- A message explaining the reason of the recovery point deletion failure.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
storageClass
Specifies the storage class of the recovery point. Valid values are as follows:
-
COLD
-
DELETED
-
WARM
- Parameters:
storageClass
- Specifies the storage class of the recovery point. Valid values are as follows:-
COLD
-
DELETED
-
WARM
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-