@Stability(value=Stable) public static final class CfnBackupPlan.CopyActionResourceTypeProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBackupPlan.CopyActionResourceTypeProperty>
CfnBackupPlan.CopyActionResourceTypeProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBackupPlan.CopyActionResourceTypeProperty |
build()
Builds the configured instance.
|
CfnBackupPlan.CopyActionResourceTypeProperty.Builder |
destinationBackupVaultArn(String destinationBackupVaultArn)
|
CfnBackupPlan.CopyActionResourceTypeProperty.Builder |
lifecycle(CfnBackupPlan.LifecycleResourceTypeProperty lifecycle)
Sets the value of
CfnBackupPlan.CopyActionResourceTypeProperty.getLifecycle() |
CfnBackupPlan.CopyActionResourceTypeProperty.Builder |
lifecycle(IResolvable lifecycle)
Sets the value of
CfnBackupPlan.CopyActionResourceTypeProperty.getLifecycle() |
@Stability(value=Stable) public CfnBackupPlan.CopyActionResourceTypeProperty.Builder destinationBackupVaultArn(String destinationBackupVaultArn)
destinationBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. This parameter is required.
For example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.this@Stability(value=Stable) public CfnBackupPlan.CopyActionResourceTypeProperty.Builder lifecycle(CfnBackupPlan.LifecycleResourceTypeProperty lifecycle)
CfnBackupPlan.CopyActionResourceTypeProperty.getLifecycle()lifecycle - Defines when a protected resource is transitioned to cold storage and when it expires.
AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS 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@Stability(value=Stable) public CfnBackupPlan.CopyActionResourceTypeProperty.Builder lifecycle(IResolvable lifecycle)
CfnBackupPlan.CopyActionResourceTypeProperty.getLifecycle()lifecycle - Defines when a protected resource is transitioned to cold storage and when it expires.
AWS Backup transitions and expires backups automatically according to the lifecycle that you define. If you do not specify a lifecycle, AWS 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@Stability(value=Stable) public CfnBackupPlan.CopyActionResourceTypeProperty build()
build in interface software.amazon.jsii.Builder<CfnBackupPlan.CopyActionResourceTypeProperty>CfnBackupPlan.CopyActionResourceTypePropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.