CopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
, SdkBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
public static interface SnapshotCopyGrant.Builder extends CopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
Modifier and Type | Method | 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(Tag... tags) |
A list of tag instances.
|
copy
apply, 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.
NOTE: This method appends the values to the existing list (if any). Use
#setTags(java.util.Collection)
or #withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tag instances.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.