Class S3EncryptionConfig
- java.lang.Object
-
- software.amazon.awssdk.services.synthetics.model.S3EncryptionConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>
@Generated("software.amazon.awssdk:codegen") public final class S3EncryptionConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>
A structure that contains the configuration of encryption-at-rest settings for canary artifacts that the canary uploads to Amazon S3.
For more information, see Encrypting canary artifacts
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceS3EncryptionConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static S3EncryptionConfig.Builderbuilder()EncryptionModeencryptionMode()The encryption method to use for artifacts created by this canary.StringencryptionModeAsString()The encryption method to use for artifacts created by this canary.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringkmsKeyArn()The ARN of the customer-managed KMS key to use, if you specifySSE-KMSforEncryptionModeList<SdkField<?>>sdkFields()static Class<? extends S3EncryptionConfig.Builder>serializableBuilderClass()S3EncryptionConfig.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
-
encryptionMode
public final EncryptionMode encryptionMode()
The encryption method to use for artifacts created by this canary. Specify
SSE_S3to use server-side encryption (SSE) with an Amazon S3-managed key. SpecifySSE-KMSto use server-side encryption with a customer-managed KMS key.If you omit this parameter, an Amazon Web Services-managed KMS key is used.
If the service returns an enum value that is not available in the current SDK version,
encryptionModewill returnEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionModeAsString().- Returns:
- The encryption method to use for artifacts created by this canary. Specify
SSE_S3to use server-side encryption (SSE) with an Amazon S3-managed key. SpecifySSE-KMSto use server-side encryption with a customer-managed KMS key.If you omit this parameter, an Amazon Web Services-managed KMS key is used.
- See Also:
EncryptionMode
-
encryptionModeAsString
public final String encryptionModeAsString()
The encryption method to use for artifacts created by this canary. Specify
SSE_S3to use server-side encryption (SSE) with an Amazon S3-managed key. SpecifySSE-KMSto use server-side encryption with a customer-managed KMS key.If you omit this parameter, an Amazon Web Services-managed KMS key is used.
If the service returns an enum value that is not available in the current SDK version,
encryptionModewill returnEncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromencryptionModeAsString().- Returns:
- The encryption method to use for artifacts created by this canary. Specify
SSE_S3to use server-side encryption (SSE) with an Amazon S3-managed key. SpecifySSE-KMSto use server-side encryption with a customer-managed KMS key.If you omit this parameter, an Amazon Web Services-managed KMS key is used.
- See Also:
EncryptionMode
-
kmsKeyArn
public final String kmsKeyArn()
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMSforEncryptionMode- Returns:
- The ARN of the customer-managed KMS key to use, if you specify
SSE-KMSforEncryptionMode
-
toBuilder
public S3EncryptionConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>
-
builder
public static S3EncryptionConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends S3EncryptionConfig.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.
-
-