public static interface UpdateRecoveryPointLifecycleResponse.Builder extends BackupResponse.Builder, SdkPojo, CopyableBuilder<UpdateRecoveryPointLifecycleResponse.Builder,UpdateRecoveryPointLifecycleResponse>
| Modifier and Type | Method and Description |
|---|---|
UpdateRecoveryPointLifecycleResponse.Builder |
backupVaultArn(String backupVaultArn)
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault. |
UpdateRecoveryPointLifecycleResponse.Builder |
calculatedLifecycle(CalculatedLifecycle calculatedLifecycle)
A
CalculatedLifecycle object containing DeleteAt and
MoveToColdStorageAt timestamps. |
default UpdateRecoveryPointLifecycleResponse.Builder |
calculatedLifecycle(Consumer<CalculatedLifecycle.Builder> calculatedLifecycle)
A
CalculatedLifecycle object containing DeleteAt and
MoveToColdStorageAt timestamps. |
default UpdateRecoveryPointLifecycleResponse.Builder |
lifecycle(Consumer<Lifecycle.Builder> lifecycle)
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
UpdateRecoveryPointLifecycleResponse.Builder |
lifecycle(Lifecycle lifecycle)
The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.
|
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. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateRecoveryPointLifecycleResponse.Builder backupVaultArn(String backupVaultArn)
An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
backupVaultArn - An ARN that uniquely identifies a backup vault; for example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.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.
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
.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.
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.
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.Builder avoiding the need to
create one manually via Lifecycle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to lifecycle(Lifecycle).
lifecycle - a consumer that will call methods on Lifecycle.Builderlifecycle(Lifecycle)UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle(CalculatedLifecycle calculatedLifecycle)
A CalculatedLifecycle object containing DeleteAt and
MoveToColdStorageAt timestamps.
calculatedLifecycle - A CalculatedLifecycle object containing DeleteAt and
MoveToColdStorageAt timestamps.default UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle(Consumer<CalculatedLifecycle.Builder> calculatedLifecycle)
A CalculatedLifecycle object containing DeleteAt and
MoveToColdStorageAt timestamps.
CalculatedLifecycle.Builder avoiding the
need to create one manually via CalculatedLifecycle.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to calculatedLifecycle(CalculatedLifecycle).
calculatedLifecycle - a consumer that will call methods on CalculatedLifecycle.BuildercalculatedLifecycle(CalculatedLifecycle)Copyright © 2023. All rights reserved.