Interface AwsBackupBackupPlanRuleCopyActionsDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,,AwsBackupBackupPlanRuleCopyActionsDetails> SdkBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,,AwsBackupBackupPlanRuleCopyActionsDetails> SdkPojo
- Enclosing class:
AwsBackupBackupPlanRuleCopyActionsDetails
-
Method Summary
Modifier and TypeMethodDescriptiondestinationBackupVaultArn(String destinationBackupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.Defines when a protected resource is transitioned to cold storage and when it expires.lifecycle(AwsBackupBackupPlanLifecycleDetails lifecycle) Defines when a protected resource is transitioned to cold storage and when it expires.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
destinationBackupVaultArn
AwsBackupBackupPlanRuleCopyActionsDetails.Builder destinationBackupVaultArn(String destinationBackupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
- Parameters:
destinationBackupVaultArn- An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
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 don't 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.
- Parameters:
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 don't 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
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 don't 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.Builderavoiding the need to create one manually viaAwsBackupBackupPlanLifecycleDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolifecycle(AwsBackupBackupPlanLifecycleDetails).- Parameters:
lifecycle- a consumer that will call methods onAwsBackupBackupPlanLifecycleDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-