Interface CopyBackupToRegionRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CloudHsmV2Request.Builder, CopyableBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>, SdkBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CopyBackupToRegionRequest

public static interface CopyBackupToRegionRequest.Builder extends CloudHsmV2Request.Builder, SdkPojo, CopyableBuilder<CopyBackupToRegionRequest.Builder,CopyBackupToRegionRequest>
  • Method Details

    • destinationRegion

      CopyBackupToRegionRequest.Builder destinationRegion(String destinationRegion)

      The AWS region that will contain your copied CloudHSM cluster backup.

      Parameters:
      destinationRegion - The AWS region that will contain your copied CloudHSM cluster backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupId

      The ID of the backup that will be copied to the destination region.

      Parameters:
      backupId - The ID of 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.
    • tagList

      Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.

      Parameters:
      tagList - Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.

      Parameters:
      tagList - Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tagList

      Tags to apply to the destination backup during creation. If you specify tags, only these tags will be applied to the destination backup. If you do not specify tags, the service copies tags from the source backup to the destination backup.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tagList(List<Tag>).

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

      CopyBackupToRegionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.