public static interface AwsBackupBackupPlanRuleCopyActionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,AwsBackupBackupPlanRuleCopyActionsDetails>
| Modifier and Type | Method and Description |
|---|---|
AwsBackupBackupPlanRuleCopyActionsDetails.Builder |
destinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
|
AwsBackupBackupPlanRuleCopyActionsDetails.Builder |
lifecycle(AwsBackupBackupPlanLifecycleDetails lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires.
|
default AwsBackupBackupPlanRuleCopyActionsDetails.Builder |
lifecycle(Consumer<AwsBackupBackupPlanLifecycleDetails.Builder> lifecycle)
Defines when a protected resource is transitioned to cold storage and when it expires.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAwsBackupBackupPlanRuleCopyActionsDetails.Builder destinationBackupVaultArn(String destinationBackupVaultArn)
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
destinationBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied
backup.AwsBackupBackupPlanRuleCopyActionsDetails.Builder lifecycle(AwsBackupBackupPlanLifecycleDetails 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. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
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. If you do
not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination
backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
default AwsBackupBackupPlanRuleCopyActionsDetails.Builder lifecycle(Consumer<AwsBackupBackupPlanLifecycleDetails.Builder> 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. If you do not specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.
Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.
This is a convenience method that creates an instance of theAwsBackupBackupPlanLifecycleDetails.Builder avoiding the need to create one manually via
AwsBackupBackupPlanLifecycleDetails.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to lifecycle(AwsBackupBackupPlanLifecycleDetails).
lifecycle - a consumer that will call methods on AwsBackupBackupPlanLifecycleDetails.Builderlifecycle(AwsBackupBackupPlanLifecycleDetails)Copyright © 2023. All rights reserved.