@Generated(value="software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
KMSEncryptionConfig |
kmsEncryptionConfig()
The encryption key.
|
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.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EncryptionConfiguration.Builder> |
serializableBuilderClass() |
EncryptionConfiguration.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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()
toBuilder
in interface ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
public static EncryptionConfiguration.Builder builder()
public static Class<? extends EncryptionConfiguration.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.