@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KmsEncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
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.
| Constructor and Description |
|---|
KmsEncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
KmsEncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCmkType()
The type of customer-managed-key(CMK) used for encryption.
|
String |
getKmsKeyId()
The KMS encryption key id/alias used to encrypt the data store contents at rest.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCmkType(String cmkType)
The type of customer-managed-key(CMK) used for encryption.
|
void |
setKmsKeyId(String kmsKeyId)
The KMS encryption key id/alias used to encrypt the data store contents at rest.
|
String |
toString()
Returns a string representation of this object.
|
KmsEncryptionConfig |
withCmkType(CmkType cmkType)
The type of customer-managed-key(CMK) used for encryption.
|
KmsEncryptionConfig |
withCmkType(String cmkType)
The type of customer-managed-key(CMK) used for encryption.
|
KmsEncryptionConfig |
withKmsKeyId(String kmsKeyId)
The KMS encryption key id/alias used to encrypt the data store contents at rest.
|
public void setCmkType(String cmkType)
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
cmkType - The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer
owned CMKs and AWS owned CMKs.CmkTypepublic String getCmkType()
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
CmkTypepublic KmsEncryptionConfig withCmkType(String cmkType)
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
cmkType - The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer
owned CMKs and AWS owned CMKs.CmkTypepublic KmsEncryptionConfig withCmkType(CmkType cmkType)
The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
cmkType - The type of customer-managed-key(CMK) used for encryption. The two types of supported CMKs are customer
owned CMKs and AWS owned CMKs.CmkTypepublic void setKmsKeyId(String kmsKeyId)
The KMS encryption key id/alias used to encrypt the data store contents at rest.
kmsKeyId - The KMS encryption key id/alias used to encrypt the data store contents at rest.public String getKmsKeyId()
The KMS encryption key id/alias used to encrypt the data store contents at rest.
public KmsEncryptionConfig withKmsKeyId(String kmsKeyId)
The KMS encryption key id/alias used to encrypt the data store contents at rest.
kmsKeyId - The KMS encryption key id/alias used to encrypt the data store contents at rest.public String toString()
toString in class ObjectObject.toString()public KmsEncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.