@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EncryptionConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.
| Constructor and Description |
|---|
EncryptionConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
EncryptionConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionOption()
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
String |
getKmsKey()
For
SSE-KMS and CSE-KMS, this is the KMS key ARN or ID. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
void |
setEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
void |
setKmsKey(String kmsKey)
For
SSE-KMS and CSE-KMS, this is the KMS key ARN or ID. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
EncryptionConfiguration |
withEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
EncryptionConfiguration |
withEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (
SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used. |
EncryptionConfiguration |
withKmsKey(String kmsKey)
For
SSE-KMS and CSE-KMS, this is the KMS key ARN or ID. |
public void setEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3),
server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOptionpublic String getEncryptionOption()
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
SSE-S3),
server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOptionpublic EncryptionConfiguration withEncryptionOption(String encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3),
server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOptionpublic void setEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3),
server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOptionpublic EncryptionConfiguration withEncryptionOption(EncryptionOption encryptionOption)
Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3), server-side
encryption with KMS-managed keys (SSE-KMS), or client-side encryption with KMS-managed keys
(CSE-KMS) is used.
encryptionOption - Indicates whether Amazon S3 server-side encryption with Amazon S3-managed keys (SSE-S3),
server-side encryption with KMS-managed keys (SSE-KMS), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOptionpublic void setKmsKey(String kmsKey)
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
kmsKey - For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.public String getKmsKey()
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.public EncryptionConfiguration withKmsKey(String kmsKey)
For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.
kmsKey - For SSE-KMS and CSE-KMS, this is the KMS key ARN or ID.public String toString()
toString in class ObjectObject.toString()public EncryptionConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.