@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
If query results are encrypted in Amazon S3, indicates the Amazon S3 encryption option used.
Modifier and Type | Class and Description |
---|---|
static interface |
EncryptionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static EncryptionConfiguration.Builder |
builder() |
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. |
String |
encryptionOptionAsString()
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. |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKey()
For
SSE-KMS and CSE-KMS , this is the KMS key ARN or ID. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends EncryptionConfiguration.Builder> |
serializableBuilderClass() |
EncryptionConfiguration.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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.
If the service returns an enum value that is not available in the current SDK version, encryptionOption
will return EncryptionOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionOptionAsString()
.
SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOption
public String encryptionOptionAsString()
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.
If the service returns an enum value that is not available in the current SDK version, encryptionOption
will return EncryptionOption.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from encryptionOptionAsString()
.
SSE-S3
),
server-side encryption with KMS-managed keys (SSE-KMS
), or client-side encryption with
KMS-managed keys (CSE-KMS) is used.EncryptionOption
public String kmsKey()
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
public static EncryptionConfiguration.Builder builder()
public static Class<? extends EncryptionConfiguration.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.