@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 Amazon Web Services managed key or an Amazon Web
Services owned key.
|
String |
getKMSMasterKeyId()
The KMS key that 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 Amazon Web Services managed key or an Amazon Web
Services owned key.
|
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 Amazon Web Services managed key or an Amazon Web
Services owned key.
|
void |
setKMSMasterKeyId(String kMSMasterKeyId)
The KMS key that 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 Amazon Web Services managed key or an Amazon Web
Services owned key.
|
SSESpecification |
withKMSMasterKeyId(String kMSMasterKeyId)
The KMS key that 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 Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is
set to Amazon Web Services owned key.
enabled
- Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an
Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified,
server-side encryption is set to Amazon Web Services owned key.public Boolean getEnabled()
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is
set to Amazon Web Services owned key.
KMS
and an
Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified,
server-side encryption is set to Amazon Web Services owned key.public SSESpecification withEnabled(Boolean enabled)
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is
set to Amazon Web Services owned key.
enabled
- Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an
Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified,
server-side encryption is set to Amazon Web Services owned key.public Boolean isEnabled()
Indicates whether server-side encryption is done using an Amazon Web Services managed key or an Amazon Web
Services owned key. If enabled (true), server-side encryption type is set to KMS
and an Amazon Web
Services managed key is used (KMS charges apply). If disabled (false) or not specified, server-side encryption is
set to Amazon Web Services owned key.
KMS
and an
Amazon Web Services managed key is used (KMS charges apply). If disabled (false) or not specified,
server-side encryption is set to Amazon Web Services owned key.public void setSSEType(String sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and
is managed by KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your
account and is managed by KMS (KMS charges apply).
SSEType
public String getSSEType()
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and
is managed by KMS (KMS charges apply).
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your
account and is managed by KMS (KMS charges apply).
SSEType
public SSESpecification withSSEType(String sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and
is managed by KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your
account and is managed by KMS (KMS charges apply).
SSEType
public SSESpecification withSSEType(SSEType sSEType)
Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your account and
is managed by KMS (KMS charges apply).
sSEType
- Server-side encryption type. The only supported value is:
KMS
- Server-side encryption that uses Key Management Service. The key is stored in your
account and is managed by KMS (KMS charges apply).
SSEType
public void setKMSMasterKeyId(String kMSMasterKeyId)
The KMS key that should be used for the KMS encryption. To specify a key, 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 key alias/aws/dynamodb
.
kMSMasterKeyId
- The KMS key that should be used for the KMS encryption. To specify a key, 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 key alias/aws/dynamodb
.public String getKMSMasterKeyId()
The KMS key that should be used for the KMS encryption. To specify a key, 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 key alias/aws/dynamodb
.
alias/aws/dynamodb
.public SSESpecification withKMSMasterKeyId(String kMSMasterKeyId)
The KMS key that should be used for the KMS encryption. To specify a key, 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 key alias/aws/dynamodb
.
kMSMasterKeyId
- The KMS key that should be used for the KMS encryption. To specify a key, 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 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.