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 Details

    • 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 the Lifecycle.Builder avoiding the need to create one manually via Lifecycle.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycle(Lifecycle).

      Parameters:
      lifecycle - a consumer that will call methods on Lifecycle.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • 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.