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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.SnapshotCopyGrant.Builder
snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.SnapshotCopyGrant.Builder
tags(Collection<Tag> tags)
A list of tag instances.SnapshotCopyGrant.Builder
tags(Consumer<Tag.Builder>... tags)
A list of tag instances.SnapshotCopyGrant.Builder
tags(Tag... tags)
A list of tag instances.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
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 theTag.Builder
avoiding the need to create one manually viaTag.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 onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
-