@Generated(value="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
| Modifier and Type | Class and Description |
|---|---|
static interface |
S3EncryptionConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static S3EncryptionConfig.Builder |
builder() |
EncryptionMode |
encryptionMode()
The encryption method to use for artifacts created by this canary.
|
String |
encryptionModeAsString()
The encryption method to use for artifacts created by this canary.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyArn()
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMS for
EncryptionMode |
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3EncryptionConfig.Builder> |
serializableBuilderClass() |
S3EncryptionConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final EncryptionMode encryptionMode()
The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side
encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to 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, encryptionMode
will return EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionModeAsString().
SSE_S3 to use
server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use
server-side encryption with a customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
EncryptionModepublic final String encryptionModeAsString()
The encryption method to use for artifacts created by this canary. Specify SSE_S3 to use server-side
encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to 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, encryptionMode
will return EncryptionMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from encryptionModeAsString().
SSE_S3 to use
server-side encryption (SSE) with an Amazon S3-managed key. Specify SSE-KMS to use
server-side encryption with a customer-managed KMS key.
If you omit this parameter, an Amazon Web Services-managed KMS key is used.
EncryptionModepublic final String kmsKeyArn()
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionMode
SSE-KMS for
EncryptionModepublic S3EncryptionConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>public static S3EncryptionConfig.Builder builder()
public static Class<? extends S3EncryptionConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.