Interface CopyAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CopyAction.Builder,,CopyAction> SdkBuilder<CopyAction.Builder,,CopyAction> SdkPojo
- Enclosing class:
CopyAction
@Mutable
@NotThreadSafe
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.Builderlifecycle(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaLifecycle.builder().When the
Consumercompletes,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:backup-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:backup-vault:aBackupVault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-