@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) |
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.
|
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. If enabled (true),
server-side encryption type is set to KMS
. If disabled (false) or not specified, server-side
encryption is set to AWS owned CMK.
enabled
- Indicates whether server-side encryption is enabled (true) or disabled (false) on the table. If enabled
(true), server-side encryption type is set to KMS
. If disabled (false) or not specified,
server-side encryption is set to AWS owned CMK.public Boolean getEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table. If enabled (true),
server-side encryption type is set to KMS
. If disabled (false) or not specified, server-side
encryption is set to AWS owned CMK.
KMS
. 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 enabled (true) or disabled (false) on the table. If enabled (true),
server-side encryption type is set to KMS
. If disabled (false) or not specified, server-side
encryption is set to AWS owned CMK.
enabled
- Indicates whether server-side encryption is enabled (true) or disabled (false) on the table. If enabled
(true), server-side encryption type is set to KMS
. If disabled (false) or not specified,
server-side encryption is set to AWS owned CMK.public Boolean isEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table. If enabled (true),
server-side encryption type is set to KMS
. If disabled (false) or not specified, server-side
encryption is set to AWS owned CMK.
KMS
. If disabled (false) or not specified,
server-side encryption is set to AWS owned CMK.public void setSSEType(String sSEType)
Server-side encryption type:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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).
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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:
AES256
- Server-side encryption which uses the AES256 algorithm (not applicable).
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 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 Object
Object.toString()
public SSESpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2019. All rights reserved.