Class DefaultServerSideEncryption
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.model.DefaultServerSideEncryption
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DefaultServerSideEncryption.Builder,DefaultServerSideEncryption>
@Generated("software.amazon.awssdk:codegen") public final class DefaultServerSideEncryption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DefaultServerSideEncryption.Builder,DefaultServerSideEncryption>
Contains information on the server side encryption method used in the S3 bucket. See S3 Server-Side Encryption for more information.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDefaultServerSideEncryption.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultServerSideEncryption.Builderbuilder()StringencryptionType()The type of encryption used for objects within the S3 bucket.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsMasterKeyArn()The Amazon Resource Name (ARN) of the KMS encryption key.List<SdkField<?>>sdkFields()static Class<? extends DefaultServerSideEncryption.Builder>serializableBuilderClass()DefaultServerSideEncryption.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
-
encryptionType
public final String encryptionType()
The type of encryption used for objects within the S3 bucket.
- Returns:
- The type of encryption used for objects within the S3 bucket.
-
kmsMasterKeyArn
public final String kmsMasterKeyArn()
The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionTypeisaws:kms.- Returns:
- The Amazon Resource Name (ARN) of the KMS encryption key. Only available if the bucket
EncryptionTypeisaws:kms.
-
toBuilder
public DefaultServerSideEncryption.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DefaultServerSideEncryption.Builder,DefaultServerSideEncryption>
-
builder
public static DefaultServerSideEncryption.Builder builder()
-
serializableBuilderClass
public static Class<? extends DefaultServerSideEncryption.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.
-
-