Class MetadataTableEncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.s3.model.MetadataTableEncryptionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetadataTableEncryptionConfiguration.Builder,MetadataTableEncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class MetadataTableEncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetadataTableEncryptionConfiguration.Builder,MetadataTableEncryptionConfiguration>
The encryption settings for an S3 Metadata journal table or inventory table configuration.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetadataTableEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetadataTableEncryptionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN).Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MetadataTableEncryptionConfiguration.Builder>serializableBuilderClass()TableSseAlgorithmsseAlgorithm()The encryption type specified for a metadata table.StringsseAlgorithmAsString()The encryption type specified for a metadata table.MetadataTableEncryptionConfiguration.BuildertoBuilder()StringtoString()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
-
sseAlgorithm
public final TableSseAlgorithm sseAlgorithm()
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the
aws:kmsvalue. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use theAES256value.If the service returns an enum value that is not available in the current SDK version,
sseAlgorithmwill returnTableSseAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsseAlgorithmAsString().- Returns:
- The encryption type specified for a metadata table. To specify server-side encryption with Key Management
Service (KMS) keys (SSE-KMS), use the
aws:kmsvalue. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use theAES256value. - See Also:
TableSseAlgorithm
-
sseAlgorithmAsString
public final String sseAlgorithmAsString()
The encryption type specified for a metadata table. To specify server-side encryption with Key Management Service (KMS) keys (SSE-KMS), use the
aws:kmsvalue. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use theAES256value.If the service returns an enum value that is not available in the current SDK version,
sseAlgorithmwill returnTableSseAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromsseAlgorithmAsString().- Returns:
- The encryption type specified for a metadata table. To specify server-side encryption with Key Management
Service (KMS) keys (SSE-KMS), use the
aws:kmsvalue. To specify server-side encryption with Amazon S3 managed keys (SSE-S3), use theAES256value. - See Also:
TableSseAlgorithm
-
kmsKeyArn
public final String kmsKeyArn()
If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
- Returns:
- If server-side encryption with Key Management Service (KMS) keys (SSE-KMS) is specified, you must also specify the KMS key Amazon Resource Name (ARN). You must specify a customer-managed KMS key that's located in the same Region as the general purpose bucket that corresponds to the metadata table configuration.
-
toBuilder
public MetadataTableEncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetadataTableEncryptionConfiguration.Builder,MetadataTableEncryptionConfiguration>
-
builder
public static MetadataTableEncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetadataTableEncryptionConfiguration.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-