public static interface CreateSnapshotCopyGrantRequest.Builder extends RedshiftRequest.Builder, SdkPojo, CopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateSnapshotCopyGrantRequest.Builder |
kmsKeyId(String kmsKeyId)
The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission.
|
CreateSnapshotCopyGrantRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateSnapshotCopyGrantRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
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.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateSnapshotCopyGrantRequest.Builder snapshotCopyGrantName(String snapshotCopyGrantName)
The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web Services 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 Amazon Web Services account.
snapshotCopyGrantName - The name of the snapshot copy grant. This name must be unique in the region for the Amazon Web
Services 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 Amazon Web Services account.
CreateSnapshotCopyGrantRequest.Builder kmsKeyId(String kmsKeyId)
The unique identifier of the encrypted symmetric key to which to grant Amazon Redshift permission. If no key is specified, the default key is used.
kmsKeyId - The unique identifier of the encrypted symmetric key 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 method that creates an instance of theTag.Builder avoiding the need to create one manually
via Tag.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #tags(List.
tags - a consumer that will call methods on
Tag.Builder#tags(java.util.Collection) CreateSnapshotCopyGrantRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateSnapshotCopyGrantRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.