Interface SnapshotCopyGrant.Builder

    • Method Detail

      • 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

        SnapshotCopyGrant.Builder tags​(Collection<Tag> 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

        SnapshotCopyGrant.Builder tags​(Tag... 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

        SnapshotCopyGrant.Builder tags​(Consumer<Tag.Builder>... 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).

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