public static interface CreateSnapshotCopyGrantRequest.Builder extends RedshiftRequest.Builder, CopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
Modifier and Type | Method and Description |
---|---|
CreateSnapshotCopyGrantRequest.Builder |
kmsKeyId(String kmsKeyId)
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.
|
CreateSnapshotCopyGrantRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateSnapshotCopyGrantRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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(Consumer<Tag.Builder>... tags)
A list of tag instances.
|
CreateSnapshotCopyGrantRequest.Builder |
tags(Tag... tags)
A list of tag instances.
|
build
overrideConfiguration
copy
applyMutation, 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.
tags
- A list of tag instances.CreateSnapshotCopyGrantRequest.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)
CreateSnapshotCopyGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateSnapshotCopyGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.