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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
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(Tag... tags)
A list of tag instances.
|
build
requestOverrideConfig, requestOverrideConfig
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.
tags
- A list of tag instances.CreateSnapshotCopyGrantRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.