Class S3EncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.qldb.model.S3EncryptionConfiguration
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class S3EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
The encryption settings that are used by a journal export job to write data in an Amazon Simple Storage Service (Amazon S3) bucket.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
S3EncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3EncryptionConfiguration.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 a symmetric encryption key in Key Management Service (KMS).S3ObjectEncryptionType
objectEncryptionType()
The Amazon S3 object encryption type.String
objectEncryptionTypeAsString()
The Amazon S3 object encryption type.Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends S3EncryptionConfiguration.Builder>
serializableBuilderClass()
S3EncryptionConfiguration.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
objectEncryptionType
public final S3ObjectEncryptionType objectEncryptionType()
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
objectEncryptionType
will returnS3ObjectEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromobjectEncryptionTypeAsString()
.- Returns:
- The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- See Also:
S3ObjectEncryptionType
-
objectEncryptionTypeAsString
public final String objectEncryptionTypeAsString()
The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
If the service returns an enum value that is not available in the current SDK version,
objectEncryptionType
will returnS3ObjectEncryptionType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromobjectEncryptionTypeAsString()
.- Returns:
- The Amazon S3 object encryption type.
To learn more about server-side encryption options in Amazon S3, see Protecting Data Using Server-Side Encryption in the Amazon S3 Developer Guide.
- See Also:
S3ObjectEncryptionType
-
kmsKeyArn
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3 does not support asymmetric KMS keys.
You must provide a
KmsKeyArn
if you specifySSE_KMS
as theObjectEncryptionType
.KmsKeyArn
is not required if you specifySSE_S3
as theObjectEncryptionType
.- Returns:
- The Amazon Resource Name (ARN) of a symmetric encryption key in Key Management Service (KMS). Amazon S3
does not support asymmetric KMS keys.
You must provide a
KmsKeyArn
if you specifySSE_KMS
as theObjectEncryptionType
.KmsKeyArn
is not required if you specifySSE_S3
as theObjectEncryptionType
.
-
toBuilder
public S3EncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<S3EncryptionConfiguration.Builder,S3EncryptionConfiguration>
-
builder
public static S3EncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3EncryptionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToField
in interfaceSdkPojo
-
-