Interface CopyBackupToRegionRequest.Builder

    • Method Detail

      • 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

        CopyBackupToRegionRequest.Builder backupId​(String 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

        CopyBackupToRegionRequest.Builder tagList​(Collection<Tag> 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

        CopyBackupToRegionRequest.Builder tagList​(Tag... 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

        CopyBackupToRegionRequest.Builder tagList​(Consumer<Tag.Builder>... 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).

        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:
        #tagList(java.util.Collection)