@Generated(value="software.amazon.awssdk:codegen") public final class SnapshotCopyGrant extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
Returns true if the Tags property was specified by the sender (it may be empty), or false if the sender did not
specify the value (it will be empty).
|
String |
kmsKeyId()
The unique identifier of the customer master key (CMK) in AWS KMS to which Amazon Redshift is granted permission.
|
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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 boolean hasTags()
public List<Tag> tags()
A list of tag instances.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasTags() to see if a value was sent in this field.
public SnapshotCopyGrant.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<SnapshotCopyGrant.Builder,SnapshotCopyGrant>public static SnapshotCopyGrant.Builder builder()
public static Class<? extends SnapshotCopyGrant.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.