Interface CopyAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CopyAction.Builder,
,CopyAction> SdkBuilder<CopyAction.Builder,
,CopyAction> SdkPojo
- Enclosing class:
CopyAction
public static interface CopyAction.Builder
extends SdkPojo, CopyableBuilder<CopyAction.Builder,CopyAction>
-
Method Summary
Modifier and TypeMethodDescriptiondestinationBackupVaultArn
(String destinationBackupVaultArn) An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.default CopyAction.Builder
lifecycle
(Consumer<Lifecycle.Builder> lifecycle) Sets the value of the Lifecycle property for this object.Sets the value of the Lifecycle property for this object.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, sdkFields
-
Method Details
-
lifecycle
Sets the value of the Lifecycle property for this object.- Parameters:
lifecycle
- The new value for the Lifecycle property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifecycle
Sets the value of the Lifecycle property for this object. This is a convenience method that creates an instance of theLifecycle.Builder
avoiding the need to create one manually viaLifecycle.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifecycle(Lifecycle)
.- Parameters:
lifecycle
- a consumer that will call methods onLifecycle.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
destinationBackupVaultArn
An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For example,
arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.- Parameters:
destinationBackupVaultArn
- An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup. For example,arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-