@Generated(value="software.amazon.awssdk:codegen") public final class S3Encryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Encryption.Builder,S3Encryption>
Specifies how 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The AWS ARN of the KMS key to be used to encrypt the data.
|
S3EncryptionMode |
s3EncryptionMode()
The encryption mode to use for S3 data.
|
String |
s3EncryptionModeAsString()
The encryption mode to use for S3 data.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Encryption.Builder> |
serializableBuilderClass() |
S3Encryption.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public S3EncryptionMode s3EncryptionMode()
The encryption mode to use for 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 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 AWS ARN of the KMS key to be used to encrypt the data.
public S3Encryption.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Encryption.Builder,S3Encryption>
public static S3Encryption.Builder builder()
public static Class<? extends S3Encryption.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.