@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 AWS KMS customer master key (CMK) that should be used for the AWS 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) |
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 AWS KMS customer master key (CMK) that should be used for the AWS 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 AWS KMS customer master key (CMK) that should be used for the AWS 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 that uses AWS Key Management Service. The key is stored in your account
and is managed by AWS KMS (AWS KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your
account and is managed by AWS KMS (AWS KMS charges apply).
SSEType
public String getSSEType()
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your account
and is managed by AWS KMS (AWS KMS charges apply).
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your
account and is managed by AWS KMS (AWS KMS charges apply).
SSEType
public SSESpecification withSSEType(String sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your account
and is managed by AWS KMS (AWS KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your
account and is managed by AWS KMS (AWS KMS charges apply).
SSEType
public SSESpecification withSSEType(SSEType sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your account
and is managed by AWS KMS (AWS KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses AWS Key Management Service. The key is stored in your
account and is managed by AWS KMS (AWS KMS charges apply).
SSEType
public void setKMSMasterKeyId(String kMSMasterKeyId)
The AWS KMS customer master key (CMK) that should be used for the AWS 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 AWS KMS customer master key (CMK) that should be used for the AWS 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 AWS KMS customer master key (CMK) that should be used for the AWS 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 AWS KMS customer master key (CMK) that should be used for the AWS 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 AWS KMS customer master key (CMK) that should be used for the AWS 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)
marshall
in interface StructuredPojo
Copyright © 2020. All rights reserved.