@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 encyrption.
|
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 encyrption.
|
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 encyrption.
|
KmsEncryptionConfig |
withCmkType(String cmkType)
The type of customer-managed-key(CMK) used for encyrption.
|
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 encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
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.CmkType
public String getCmkType()
The type of customer-managed-key(CMK) used for encyrption. The two types of supported CMKs are customer owned CMKs and AWS owned CMKs.
CmkType
public KmsEncryptionConfig withCmkType(String 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.
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.CmkType
public KmsEncryptionConfig withCmkType(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.
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.CmkType
public 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 Object
Object.toString()
public KmsEncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.