@Generated(value="software.amazon.awssdk:codegen") public final class KmsEncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<KmsEncryptionConfig.Builder,KmsEncryptionConfig>
The customer-managed-key(CMK) used when creating a Data Store. If a customer owned key is not specified, an AWS owned key will be used for encryption.
| Modifier and Type | Class and Description |
|---|---|
static interface |
KmsEncryptionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static KmsEncryptionConfig.Builder |
builder() |
CmkType |
cmkType()
The type of customer-managed-key(CMK) used for encyrption.
|
String |
cmkTypeAsString()
The type of customer-managed-key(CMK) used for encyrption.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
The KMS encryption key id/alias used to encrypt the Data Store contents at rest.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends KmsEncryptionConfig.Builder> |
serializableBuilderClass() |
KmsEncryptionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CmkType cmkType()
The type of customer-managed-key(CMK) used for encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
If the service returns an enum value that is not available in the current SDK version, cmkType will
return CmkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
cmkTypeAsString().
CmkTypepublic final String cmkTypeAsString()
The type of customer-managed-key(CMK) used for encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
If the service returns an enum value that is not available in the current SDK version, cmkType will
return CmkType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
cmkTypeAsString().
CmkTypepublic final String kmsKeyId()
The KMS encryption key id/alias used to encrypt the Data Store contents at rest.
public KmsEncryptionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<KmsEncryptionConfig.Builder,KmsEncryptionConfig>public static KmsEncryptionConfig.Builder builder()
public static Class<? extends KmsEncryptionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.