Class EncryptionConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.s3control.model.EncryptionConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class EncryptionConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
Specifies encryption-related information for an Amazon S3 bucket that is a destination for replicated objects.
This is not supported by Amazon S3 on Outposts buckets.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEncryptionConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EncryptionConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringreplicaKmsKeyID()Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket.List<SdkField<?>>sdkFields()static Class<? extends EncryptionConfiguration.Builder>serializableBuilderClass()EncryptionConfiguration.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
-
replicaKmsKeyID
public final String replicaKmsKeyID()
Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide.
- Returns:
- Specifies the ID of the customer managed KMS key that's stored in Key Management Service (KMS) for the destination bucket. This ID is either the Amazon Resource Name (ARN) for the KMS key or the alias ARN for the KMS key. Amazon S3 uses this KMS key to encrypt replica objects. Amazon S3 supports only symmetric encryption KMS keys. For more information, see Symmetric encryption KMS keys in the Amazon Web Services Key Management Service Developer Guide.
-
toBuilder
public EncryptionConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EncryptionConfiguration.Builder,EncryptionConfiguration>
-
builder
public static EncryptionConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends EncryptionConfiguration.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.
-
-