Interface UpdateRecoveryPointLifecycleResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,BackupResponse.Builder,Buildable,CopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>,SdkBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateRecoveryPointLifecycleResponse
public static interface UpdateRecoveryPointLifecycleResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateRecoveryPointLifecycleResponse.BuilderbackupVaultArn(String backupVaultArn)An ARN that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.default UpdateRecoveryPointLifecycleResponse.BuildercalculatedLifecycle(Consumer<CalculatedLifecycle.Builder> calculatedLifecycle)ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.UpdateRecoveryPointLifecycleResponse.BuildercalculatedLifecycle(CalculatedLifecycle calculatedLifecycle)ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.default UpdateRecoveryPointLifecycleResponse.Builderlifecycle(Consumer<Lifecycle.Builder> lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.UpdateRecoveryPointLifecycleResponse.Builderlifecycle(Lifecycle lifecycle)The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.UpdateRecoveryPointLifecycleResponse.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.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
-
backupVaultArn
UpdateRecoveryPointLifecycleResponse.Builder backupVaultArn(String backupVaultArn)
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.- Parameters:
backupVaultArn- An ARN that uniquely identifies a backup vault; for example,arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recoveryPointArn
UpdateRecoveryPointLifecycleResponse.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
UpdateRecoveryPointLifecycleResponse.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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
- 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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
default UpdateRecoveryPointLifecycleResponse.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.
Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.
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)
-
calculatedLifecycle
UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle(CalculatedLifecycle 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 UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle(Consumer<CalculatedLifecycle.Builder> calculatedLifecycle)
A
This is a convenience method that creates an instance of theCalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.CalculatedLifecycle.Builderavoiding the need to create one manually viaCalculatedLifecycle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocalculatedLifecycle(CalculatedLifecycle).- Parameters:
calculatedLifecycle- a consumer that will call methods onCalculatedLifecycle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
calculatedLifecycle(CalculatedLifecycle)
-
-