public static interface SnapshotCopyGrant.Builder extends CopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
Modifier and Type | Method and Description |
---|---|
SnapshotCopyGrant.Builder |
kmsKeyId(String kmsKeyId)
The unique identifier of the customer master key (CMK) in AWS 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.
|
copy
applyMutation, build
SnapshotCopyGrant.Builder snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant.
snapshotCopyGrantName
- The name of the snapshot copy grant.SnapshotCopyGrant.Builder kmsKeyId(String kmsKeyId)
The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted permission.
kmsKeyId
- The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted
permission.SnapshotCopyGrant.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.SnapshotCopyGrant.Builder tags(Tag... tags)
A list of tag instances.
tags
- A list of tag instances.SnapshotCopyGrant.Builder tags(Consumer<Tag.Builder>... tags)
A list of tag instances.
This is a convenience that creates an instance of theList.Builder
avoiding the need to create
one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its result
is passed to #tags(List)
.tags
- a consumer that will call methods on List.Builder
#tags(List)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.