@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SSESpecification extends Object implements Serializable, Cloneable, StructuredPojo
Represents the settings used to enable server-side encryption.
| Constructor and Description |
|---|
SSESpecification() |
| Modifier and Type | Method and Description |
|---|---|
SSESpecification |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
|
String |
getKMSMasterKeyId()
The KMS Master Key (CMK) which should be used for the KMS encryption.
|
String |
getSSEType()
Server-side encryption type:
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEnabled(Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
|
void |
setKMSMasterKeyId(String kMSMasterKeyId)
The KMS Master Key (CMK) which should be used for the KMS encryption.
|
void |
setSSEType(String sSEType)
Server-side encryption type:
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SSESpecification |
withEnabled(Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
|
SSESpecification |
withKMSMasterKeyId(String kMSMasterKeyId)
The KMS Master Key (CMK) which should be used for the KMS encryption.
|
SSESpecification |
withSSEType(SSEType sSEType)
Server-side encryption type:
|
SSESpecification |
withSSEType(String sSEType)
Server-side encryption type:
|
public void setEnabled(Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
enabled - Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.public Boolean getEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
public SSESpecification withEnabled(Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
enabled - Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.public Boolean isEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
public void setSSEType(String sSEType)
Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
sSEType - Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
SSETypepublic String getSSEType()
Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
SSETypepublic SSESpecification withSSEType(String sSEType)
Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
sSEType - Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
SSETypepublic SSESpecification withSSEType(SSEType sSEType)
Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
sSEType - Server-side encryption type:
AES256 - Server-side encryption which uses the AES256 algorithm.
KMS - Server-side encryption which uses AWS Key Management Service. (default)
SSETypepublic void setKMSMasterKeyId(String kMSMasterKeyId)
The KMS Master Key (CMK) which should be used for the KMS encryption. To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB KMS Master Key alias/aws/dynamodb.
kMSMasterKeyId - The KMS Master Key (CMK) which should be used for the KMS encryption. To specify a CMK, use its key ID,
Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if
the key is different from the default DynamoDB KMS Master Key alias/aws/dynamodb.public String getKMSMasterKeyId()
The KMS Master Key (CMK) which should be used for the KMS encryption. To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB KMS Master Key alias/aws/dynamodb.
public SSESpecification withKMSMasterKeyId(String kMSMasterKeyId)
The KMS Master Key (CMK) which should be used for the KMS encryption. To specify a CMK, use its key ID, Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if the key is different from the default DynamoDB KMS Master Key alias/aws/dynamodb.
kMSMasterKeyId - The KMS Master Key (CMK) which should be used for the KMS encryption. To specify a CMK, use its key ID,
Amazon Resource Name (ARN), alias name, or alias ARN. Note that you should only provide this parameter if
the key is different from the default DynamoDB KMS Master Key alias/aws/dynamodb.public String toString()
toString in class ObjectObject.toString()public SSESpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.