Interface SnapshotCopyGrant.Builder

All Superinterfaces:
Buildable, CopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>, SdkBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>, SdkPojo
Enclosing class:
SnapshotCopyGrant

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

    • snapshotCopyGrantName

      SnapshotCopyGrant.Builder snapshotCopyGrantName(String snapshotCopyGrantName)

      The name of the snapshot copy grant.

      Parameters:
      snapshotCopyGrantName - The name of the snapshot copy grant.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • kmsKeyId

      SnapshotCopyGrant.Builder kmsKeyId(String kmsKeyId)

      The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.

      Parameters:
      kmsKeyId - The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag instances.

      Parameters:
      tags - A list of tag instances.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      A list of tag instances.

      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 tags(List<Tag>).

      Parameters:
      tags - 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: