@Generated(value="software.amazon.awssdk:codegen") public class SnapshotCopyGrant extends Object implements ToCopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
The snapshot copy grant that grants Amazon Redshift permission to encrypt copied snapshots with the specified customer master key (CMK) from AWS KMS in the destination region.
For more information about managing snapshot copy grants, go to Amazon Redshift Database Encryption in the Amazon Redshift Cluster Management Guide.
Modifier and Type | Class and Description |
---|---|
static interface |
SnapshotCopyGrant.Builder |
Modifier and Type | Method and Description |
---|---|
static SnapshotCopyGrant.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted permission.
|
static Class<? extends SnapshotCopyGrant.Builder> |
serializableBuilderClass() |
String |
snapshotCopyGrantName()
The name of the snapshot copy grant.
|
List<Tag> |
tags()
A list of tag instances.
|
SnapshotCopyGrant.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String snapshotCopyGrantName()
The name of the snapshot copy grant.
public String kmsKeyId()
The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted permission.
public List<Tag> tags()
A list of tag instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public SnapshotCopyGrant.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>
public static SnapshotCopyGrant.Builder builder()
public static Class<? extends SnapshotCopyGrant.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.