Interface AwsBackupBackupPlanRuleCopyActionsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,AwsBackupBackupPlanRuleCopyActionsDetails>,SdkBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,AwsBackupBackupPlanRuleCopyActionsDetails>,SdkPojo
- Enclosing class:
- AwsBackupBackupPlanRuleCopyActionsDetails
public static interface AwsBackupBackupPlanRuleCopyActionsDetails.Builder extends SdkPojo, CopyableBuilder<AwsBackupBackupPlanRuleCopyActionsDetails.Builder,AwsBackupBackupPlanRuleCopyActionsDetails>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AwsBackupBackupPlanRuleCopyActionsDetails.BuilderdestinationBackupVaultArn(String destinationBackupVaultArn)An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.default AwsBackupBackupPlanRuleCopyActionsDetails.Builderlifecycle(Consumer<AwsBackupBackupPlanLifecycleDetails.Builder> lifecycle)Defines when a protected resource is transitioned to cold storage and when it expires.AwsBackupBackupPlanRuleCopyActionsDetails.Builderlifecycle(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
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:
lifecycle(AwsBackupBackupPlanLifecycleDetails)
-
-