@Generated(value="software.amazon.awssdk:codegen") public final class S3Encryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Encryption.Builder,S3Encryption>
Specifies how Amazon Simple Storage Service (Amazon S3) data should be encrypted.
Modifier and Type | Class and Description |
---|---|
static interface |
S3Encryption.Builder |
Modifier and Type | Method and Description |
---|---|
static S3Encryption.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
|
S3EncryptionMode |
s3EncryptionMode()
The encryption mode to use for Amazon S3 data.
|
String |
s3EncryptionModeAsString()
The encryption mode to use for Amazon S3 data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Encryption.Builder> |
serializableBuilderClass() |
S3Encryption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public S3EncryptionMode s3EncryptionMode()
The encryption mode to use for Amazon S3 data.
If the service returns an enum value that is not available in the current SDK version, s3EncryptionMode
will return S3EncryptionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from s3EncryptionModeAsString()
.
S3EncryptionMode
public String s3EncryptionModeAsString()
The encryption mode to use for Amazon S3 data.
If the service returns an enum value that is not available in the current SDK version, s3EncryptionMode
will return S3EncryptionMode.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from s3EncryptionModeAsString()
.
S3EncryptionMode
public String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
public S3Encryption.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<S3Encryption.Builder,S3Encryption>
public static S3Encryption.Builder builder()
public static Class<? extends S3Encryption.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.