Class S3Encryption
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.S3Encryption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Encryption.Builder,S3Encryption>
@Generated("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.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3Encryption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3Encryption.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.S3EncryptionModes3EncryptionMode()The encryption mode to use for Amazon S3 data.Strings3EncryptionModeAsString()The encryption mode to use for Amazon S3 data.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends S3Encryption.Builder>serializableBuilderClass()S3Encryption.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
-
s3EncryptionMode
public final 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,
s3EncryptionModewill returnS3EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3EncryptionModeAsString().- Returns:
- The encryption mode to use for Amazon S3 data.
- See Also:
S3EncryptionMode
-
s3EncryptionModeAsString
public final 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,
s3EncryptionModewill returnS3EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available froms3EncryptionModeAsString().- Returns:
- The encryption mode to use for Amazon S3 data.
- See Also:
S3EncryptionMode
-
kmsKeyArn
public final String kmsKeyArn()
The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
- Returns:
- The Amazon Resource Name (ARN) of the KMS key to be used to encrypt the data.
-
toBuilder
public S3Encryption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Encryption.Builder,S3Encryption>
-
builder
public static S3Encryption.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3Encryption.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
-
-