Interface UpdateRecoveryPointLifecycleRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BackupRequest.Builder,Buildable,CopyableBuilder<UpdateRecoveryPointLifecycleRequest.Builder,UpdateRecoveryPointLifecycleRequest>,SdkBuilder<UpdateRecoveryPointLifecycleRequest.Builder,UpdateRecoveryPointLifecycleRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateRecoveryPointLifecycleRequest
public static interface UpdateRecoveryPointLifecycleRequest.Builder extends BackupRequest.Builder, SdkPojo, CopyableBuilder<UpdateRecoveryPointLifecycleRequest.Builder,UpdateRecoveryPointLifecycleRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateRecoveryPointLifecycleRequest.BuilderbackupVaultName(String backupVaultName)The name of a logical container where backups are stored.default UpdateRecoveryPointLifecycleRequest.Builderlifecycle(Consumer<Lifecycle.Builder> lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.UpdateRecoveryPointLifecycleRequest.Builderlifecycle(Lifecycle lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.UpdateRecoveryPointLifecycleRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateRecoveryPointLifecycleRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateRecoveryPointLifecycleRequest.BuilderrecoveryPointArn(String recoveryPointArn)An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example,arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.services.backup.model.BackupRequest.Builder
build
-
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
-
backupVaultName
UpdateRecoveryPointLifecycleRequest.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 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 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.
-
recoveryPointArn
UpdateRecoveryPointLifecycleRequest.Builder recoveryPointArn(String recoveryPointArn)
An Amazon Resource Name (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 Amazon Resource Name (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.
-
lifecycle
UpdateRecoveryPointLifecycleRequest.Builder lifecycle(Lifecycle 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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
- 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.Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
default UpdateRecoveryPointLifecycleRequest.Builder lifecycle(Consumer<Lifecycle.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.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.
This is a convenience method that creates an instance of theLifecycle.Builderavoiding the need to create one manually viaLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycle(Lifecycle).- Parameters:
lifecycle- a consumer that will call methods onLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lifecycle(Lifecycle)
-
overrideConfiguration
UpdateRecoveryPointLifecycleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateRecoveryPointLifecycleRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-