@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 done using an AWS managed CMK or an AWS owned CMK.
|
String |
getKMSMasterKeyId()
The KMS Customer 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 done using an AWS managed CMK or an AWS owned CMK.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEnabled(Boolean enabled)
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK.
|
void |
setKMSMasterKeyId(String kMSMasterKeyId)
The KMS Customer 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.
|
SSESpecification |
withEnabled(Boolean enabled)
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK.
|
SSESpecification |
withKMSMasterKeyId(String kMSMasterKeyId)
The KMS Customer 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 done using an AWS managed CMK or an AWS owned CMK. If enabled (true),
server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS charges apply). If
disabled (false) or not specified, server-side encryption is set to AWS owned CMK.
enabled
- Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled
(true), server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS
charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned CMK.public Boolean getEnabled()
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true),
server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS charges apply). If
disabled (false) or not specified, server-side encryption is set to AWS owned CMK.
KMS
and an AWS managed CMK is used (AWS KMS
charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned CMK.public SSESpecification withEnabled(Boolean enabled)
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true),
server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS charges apply). If
disabled (false) or not specified, server-side encryption is set to AWS owned CMK.
enabled
- Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled
(true), server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS
charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned CMK.public Boolean isEnabled()
Indicates whether server-side encryption is done using an AWS managed CMK or an AWS owned CMK. If enabled (true),
server-side encryption type is set to KMS
and an AWS managed CMK is used (AWS KMS charges apply). If
disabled (false) or not specified, server-side encryption is set to AWS owned CMK.
KMS
and an AWS managed CMK is used (AWS KMS
charges apply). If disabled (false) or not specified, server-side encryption is set to AWS owned CMK.public void setSSEType(String sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your account
and is managed by AWS KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your
account and is managed by AWS KMS (KMS charges apply).
SSEType
public String getSSEType()
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your account
and is managed by AWS KMS (KMS charges apply).
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your
account and is managed by AWS KMS (KMS charges apply).
SSEType
public SSESpecification withSSEType(String sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your account
and is managed by AWS KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your
account and is managed by AWS KMS (KMS charges apply).
SSEType
public SSESpecification withSSEType(SSEType sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your account
and is managed by AWS KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption which uses AWS Key Management Service. Key is stored in your
account and is managed by AWS KMS (KMS charges apply).
SSEType
public void setKMSMasterKeyId(String kMSMasterKeyId)
The KMS Customer 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 Customer Master Key alias/aws/dynamodb.
kMSMasterKeyId
- The KMS Customer 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 Customer Master Key alias/aws/dynamodb.public String getKMSMasterKeyId()
The KMS Customer 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 Customer Master Key alias/aws/dynamodb.
public SSESpecification withKMSMasterKeyId(String kMSMasterKeyId)
The KMS Customer 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 Customer Master Key alias/aws/dynamodb.
kMSMasterKeyId
- The KMS Customer 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 Customer Master Key alias/aws/dynamodb.public String toString()
toString
in class Object
Object.toString()
public SSESpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.