public class SSESpecification
extends java.lang.Object
implements java.io.Serializable
Represents the settings used to enable server-side encryption.
Constructor and Description |
---|
SSESpecification() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Indicates whether server-side encryption is enabled (true) or disabled
(false) on the table.
|
java.lang.String |
getKMSMasterKeyId()
The KMS Master Key (CMK) which should be used for the KMS encryption.
|
java.lang.String |
getSSEType()
Server-side encryption type:
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Indicates whether server-side encryption is enabled (true) or disabled
(false) on the table.
|
void |
setEnabled(java.lang.Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled
(false) on the table.
|
void |
setKMSMasterKeyId(java.lang.String kMSMasterKeyId)
The KMS Master Key (CMK) which should be used for the KMS encryption.
|
void |
setSSEType(SSEType sSEType)
Server-side encryption type:
|
void |
setSSEType(java.lang.String sSEType)
Server-side encryption type:
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
SSESpecification |
withEnabled(java.lang.Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled
(false) on the table.
|
SSESpecification |
withKMSMasterKeyId(java.lang.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(java.lang.String sSEType)
Server-side encryption type:
|
public java.lang.Boolean isEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
public java.lang.Boolean getEnabled()
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
public void setEnabled(java.lang.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 SSESpecification withEnabled(java.lang.Boolean enabled)
Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
Returns a reference to this object so that method calls can be chained together.
enabled
- Indicates whether server-side encryption is enabled (true) or disabled (false) on the table.
public java.lang.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)
Constraints:
Allowed Values: AES256, KMS
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
public void setSSEType(java.lang.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)
Constraints:
Allowed Values: AES256, KMS
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
public SSESpecification withSSEType(java.lang.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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AES256, KMS
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
public void setSSEType(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)
Constraints:
Allowed Values: AES256, KMS
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
public 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)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: AES256, KMS
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
public java.lang.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.
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 void setKMSMasterKeyId(java.lang.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 SSESpecification withKMSMasterKeyId(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.