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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description CopyAction.BuilderdestinationBackupVaultArn(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.CopyAction.Builderlifecycle(Lifecycle lifecycle)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 Detail
-
lifecycle
CopyAction.Builder lifecycle(Lifecycle 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
default CopyAction.Builder lifecycle(Consumer<Lifecycle.Builder> 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:
lifecycle(Lifecycle)
-
destinationBackupVaultArn
CopyAction.Builder destinationBackupVaultArn(String 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.
-
-