CopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
, SdkBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
public static interface CreateSnapshotCopyGrantRequest.Builder extends CopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateSnapshotCopyGrantRequest.Builder |
kmsKeyId(String kmsKeyId) |
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.
|
CreateSnapshotCopyGrantRequest.Builder |
snapshotCopyGrantName(String snapshotCopyGrantName) |
The name of the snapshot copy grant.
|
CreateSnapshotCopyGrantRequest.Builder |
tags(Collection<Tag> tags) |
A list of tag instances.
|
CreateSnapshotCopyGrantRequest.Builder |
tags(Tag... tags) |
A list of tag instances.
|
copy
apply, build
CreateSnapshotCopyGrantRequest.Builder snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens.
Alphabetic characters must be lowercase.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for all clusters within an AWS account.
snapshotCopyGrantName
- The name of the snapshot copy grant. This name must be unique in the region for the AWS account.
Constraints:
Must contain from 1 to 63 alphanumeric characters or hyphens.
Alphabetic characters must be lowercase.
First character must be a letter.
Cannot end with a hyphen or contain two consecutive hyphens.
Must be unique for all clusters within an AWS account.
CreateSnapshotCopyGrantRequest.Builder kmsKeyId(String kmsKeyId)
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
kmsKeyId
- The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.
If no key is specified, the default key is used.CreateSnapshotCopyGrantRequest.Builder tags(Collection<Tag> tags)
A list of tag instances.
tags
- A list of tag instances.CreateSnapshotCopyGrantRequest.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.