@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the method used to encrypt the user’s data stores in the Athena workgroup.
Constructor and Description |
---|
AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails() |
Modifier and Type | Method and Description |
---|---|
AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionOption()
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys
(SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed
keys (CSE_KMS) is used.
|
String |
getKmsKey()
For
SSE_KMS and CSE_KMS , this is the KMS key Amazon Resource Name (ARN) or ID. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncryptionOption(String encryptionOption)
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys
(SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed
keys (CSE_KMS) is used.
|
void |
setKmsKey(String kmsKey)
For
SSE_KMS and CSE_KMS , this is the KMS key Amazon Resource Name (ARN) or ID. |
String |
toString()
Returns a string representation of this object.
|
AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails |
withEncryptionOption(String encryptionOption)
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys
(SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed
keys (CSE_KMS) is used.
|
AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails |
withKmsKey(String kmsKey)
For
SSE_KMS and CSE_KMS , this is the KMS key Amazon Resource Name (ARN) or ID. |
public AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails()
public void setEncryptionOption(String encryptionOption)
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys (SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed keys (CSE_KMS) is used.
encryptionOption
- Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed
keys (SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer
managed keys (CSE_KMS) is used.public String getEncryptionOption()
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys (SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed keys (CSE_KMS) is used.
public AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails withEncryptionOption(String encryptionOption)
Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed keys (SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer managed keys (CSE_KMS) is used.
encryptionOption
- Indicates whether Amazon Simple Storage Service (Amazon S3) server-side encryption with Amazon S3 managed
keys (SSE_S3), server-side encryption with KMS keys (SSE_KMS), or client-side encryption with KMS customer
managed keys (CSE_KMS) is used.public void setKmsKey(String kmsKey)
For SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.
kmsKey
- For SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.public String getKmsKey()
For SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.
SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.public AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails withKmsKey(String kmsKey)
For SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.
kmsKey
- For SSE_KMS
and CSE_KMS
, this is the KMS key Amazon Resource Name (ARN) or ID.public String toString()
toString
in class Object
Object.toString()
public AwsAthenaWorkGroupConfigurationResultConfigurationEncryptionConfigurationDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.