Interface AwsBackupRecoveryPointDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>,SdkBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>,SdkPojo
- Enclosing class:
- AwsBackupRecoveryPointDetails
public static interface AwsBackupRecoveryPointDetails.Builder extends SdkPojo, CopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsBackupRecoveryPointDetails.BuilderbackupSizeInBytes(Long backupSizeInBytes)The size, in bytes, of a backup.AwsBackupRecoveryPointDetails.BuilderbackupVaultArn(String backupVaultArn)An Amazon Resource Name (ARN) that uniquely identifies a backup vault.AwsBackupRecoveryPointDetails.BuilderbackupVaultName(String backupVaultName)The name of a logical container where backups are stored.default AwsBackupRecoveryPointDetails.BuildercalculatedLifecycle(Consumer<AwsBackupRecoveryPointCalculatedLifecycleDetails.Builder> calculatedLifecycle)ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.AwsBackupRecoveryPointDetails.BuildercalculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails calculatedLifecycle)ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.AwsBackupRecoveryPointDetails.BuildercompletionDate(String completionDate)The date and time that a job to create a recovery point is completed, in Unix format and UTC.default AwsBackupRecoveryPointDetails.BuildercreatedBy(Consumer<AwsBackupRecoveryPointCreatedByDetails.Builder> createdBy)Contains identifying information about the creation of a recovery point, including theBackupPlanArn,BackupPlanId,BackupPlanVersion, andBackupRuleIdof the backup plan that is used to create it.AwsBackupRecoveryPointDetails.BuildercreatedBy(AwsBackupRecoveryPointCreatedByDetails createdBy)Contains identifying information about the creation of a recovery point, including theBackupPlanArn,BackupPlanId,BackupPlanVersion, andBackupRuleIdof the backup plan that is used to create it.AwsBackupRecoveryPointDetails.BuildercreationDate(String creationDate)The date and time a recovery point is created, in Unix format and UTC.AwsBackupRecoveryPointDetails.BuilderencryptionKeyArn(String encryptionKeyArn)The ARN for the server-side encryption key that is used to protect your backups.AwsBackupRecoveryPointDetails.BuilderiamRoleArn(String iamRoleArn)Specifies the IAM role ARN used to create the target recovery pointAwsBackupRecoveryPointDetails.BuilderisEncrypted(Boolean isEncrypted)A Boolean value that is returned asTRUEif the specified recovery point is encrypted, orFALSEif the recovery point is not encrypted.AwsBackupRecoveryPointDetails.BuilderlastRestoreTime(String lastRestoreTime)The date and time that a recovery point was last restored, in Unix format and UTC.default AwsBackupRecoveryPointDetails.Builderlifecycle(Consumer<AwsBackupRecoveryPointLifecycleDetails.Builder> lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.AwsBackupRecoveryPointDetails.Builderlifecycle(AwsBackupRecoveryPointLifecycleDetails lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.AwsBackupRecoveryPointDetails.BuilderrecoveryPointArn(String recoveryPointArn)An ARN that uniquely identifies a recovery point.AwsBackupRecoveryPointDetails.BuilderresourceArn(String resourceArn)An ARN that uniquely identifies a resource.AwsBackupRecoveryPointDetails.BuilderresourceType(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.AwsBackupRecoveryPointDetails.BuildersourceBackupVaultArn(String sourceBackupVaultArn)The ARN for the backup vault where the recovery point was originally copied from.AwsBackupRecoveryPointDetails.Builderstatus(String status)A status code specifying the state of the recovery point.AwsBackupRecoveryPointDetails.BuilderstatusMessage(String statusMessage)A message explaining the reason of the recovery point deletion failure.AwsBackupRecoveryPointDetails.BuilderstorageClass(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 Detail
-
backupSizeInBytes
AwsBackupRecoveryPointDetails.Builder backupSizeInBytes(Long 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
AwsBackupRecoveryPointDetails.Builder backupVaultArn(String 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
AwsBackupRecoveryPointDetails.Builder backupVaultName(String 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
CalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.- Parameters:
calculatedLifecycle- ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.- 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 theCalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.AwsBackupRecoveryPointCalculatedLifecycleDetails.Builderavoiding the need to create one manually viaAwsBackupRecoveryPointCalculatedLifecycleDetails.builder().When the
Consumercompletes,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:
calculatedLifecycle(AwsBackupRecoveryPointCalculatedLifecycleDetails)
-
completionDate
AwsBackupRecoveryPointDetails.Builder completionDate(String completionDate)
The date and time that a job to create a recovery point is completed, in Unix format and UTC. The value of
CompletionDateis 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 ofCompletionDateis 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
AwsBackupRecoveryPointDetails.Builder createdBy(AwsBackupRecoveryPointCreatedByDetails createdBy)
Contains identifying information about the creation of a recovery point, including the
BackupPlanArn,BackupPlanId,BackupPlanVersion, andBackupRuleIdof 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, andBackupRuleIdof 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, andBackupRuleIdof the backup plan that is used to create it.AwsBackupRecoveryPointCreatedByDetails.Builderavoiding the need to create one manually viaAwsBackupRecoveryPointCreatedByDetails.builder().When the
Consumercompletes,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:
createdBy(AwsBackupRecoveryPointCreatedByDetails)
-
creationDate
AwsBackupRecoveryPointDetails.Builder creationDate(String creationDate)
The date and time a recovery point is created, in Unix format and UTC. The value of
CreationDateis 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 ofCreationDateis 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
AwsBackupRecoveryPointDetails.Builder encryptionKeyArn(String 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
AwsBackupRecoveryPointDetails.Builder iamRoleArn(String 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
AwsBackupRecoveryPointDetails.Builder isEncrypted(Boolean isEncrypted)
A Boolean value that is returned as
TRUEif the specified recovery point is encrypted, orFALSEif the recovery point is not encrypted.- Parameters:
isEncrypted- A Boolean value that is returned asTRUEif the specified recovery point is encrypted, orFALSEif the recovery point is not encrypted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRestoreTime
AwsBackupRecoveryPointDetails.Builder lastRestoreTime(String lastRestoreTime)
The date and time that a recovery point was last restored, in Unix format and UTC. The value of
LastRestoreTimeis 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 ofLastRestoreTimeis 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
AwsBackupRecoveryPointDetails.Builder lifecycle(AwsBackupRecoveryPointLifecycleDetails 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.Builderavoiding the need to create one manually viaAwsBackupRecoveryPointLifecycleDetails.builder().When the
Consumercompletes,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:
lifecycle(AwsBackupRecoveryPointLifecycleDetails)
-
recoveryPointArn
AwsBackupRecoveryPointDetails.Builder recoveryPointArn(String 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
AwsBackupRecoveryPointDetails.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
AwsBackupRecoveryPointDetails.Builder 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.
- 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
AwsBackupRecoveryPointDetails.Builder sourceBackupVaultArn(String 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
AwsBackupRecoveryPointDetails.Builder status(String 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
AwsBackupRecoveryPointDetails.Builder statusMessage(String 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
AwsBackupRecoveryPointDetails.Builder storageClass(String 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.
-
-
-