Interface CopyBackupToRegionResponse.Builder

  • Method Details

    • destinationBackup

      CopyBackupToRegionResponse.Builder destinationBackup(DestinationBackup destinationBackup)

      Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.

      You will need to use the sourceBackupID returned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.

      Parameters:
      destinationBackup - Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.

      You will need to use the sourceBackupID returned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationBackup

      default CopyBackupToRegionResponse.Builder destinationBackup(Consumer<DestinationBackup.Builder> destinationBackup)

      Information on the backup that will be copied to the destination region, including CreateTimestamp, SourceBackup, SourceCluster, and Source Region. CreateTimestamp of the destination backup will be the same as that of the source backup.

      You will need to use the sourceBackupID returned in this operation to use the DescribeBackups operation on the backup that will be copied to the destination region.

      This is a convenience method that creates an instance of the DestinationBackup.Builder avoiding the need to create one manually via DestinationBackup.builder().

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

      Parameters:
      destinationBackup - a consumer that will call methods on DestinationBackup.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: