@Generated(value="software.amazon.awssdk:codegen") public class EncryptionConfiguration extends Object implements StructuredPojo, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
Describes the encryption for a destination in Amazon S3.
Modifier and Type | Class and Description |
---|---|
static interface |
EncryptionConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
static EncryptionConfiguration.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KMSEncryptionConfig |
kmsEncryptionConfig()
The encryption key.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
NoEncryptionConfig |
noEncryptionConfig()
Specifically override existing encryption information to ensure that no encryption is used.
|
String |
noEncryptionConfigAsString()
Specifically override existing encryption information to ensure that no encryption is used.
|
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 NoEncryptionConfig noEncryptionConfig()
Specifically override existing encryption information to ensure that no encryption is used.
If the service returns an enum value that is not available in the current SDK version,
noEncryptionConfig
will return NoEncryptionConfig.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from noEncryptionConfigAsString()
.
NoEncryptionConfig
public String noEncryptionConfigAsString()
Specifically override existing encryption information to ensure that no encryption is used.
If the service returns an enum value that is not available in the current SDK version,
noEncryptionConfig
will return NoEncryptionConfig.UNKNOWN_TO_SDK_VERSION
. The raw value returned
by the service is available from noEncryptionConfigAsString()
.
NoEncryptionConfig
public KMSEncryptionConfig kmsEncryptionConfig()
The encryption key.
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.