Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateSnapshotCopyGrantRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
The result of the CreateSnapshotCopyGrant
action.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateSnapshotCopyGrantRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
static CreateSnapshotCopyGrantRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
kmsKeyId() |
The unique identifier of the customer master key (CMK) to which to grant Amazon Redshift permission.
|
static Class<? extends CreateSnapshotCopyGrantRequest.Builder> |
serializableBuilderClass() |
|
String |
snapshotCopyGrantName() |
The name of the snapshot copy grant.
|
List<Tag> |
tags() |
A list of tag instances.
|
CreateSnapshotCopyGrantRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public 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.
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.
public 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.
public CreateSnapshotCopyGrantRequest.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateSnapshotCopyGrantRequest.Builder,CreateSnapshotCopyGrantRequest>
public static CreateSnapshotCopyGrantRequest.Builder builder()
public static Class<? extends CreateSnapshotCopyGrantRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.