@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class S3EncryptionConfig extends Object implements Serializable, Cloneable, StructuredPojo
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
| Constructor and Description |
|---|
S3EncryptionConfig() |
| Modifier and Type | Method and Description |
|---|---|
S3EncryptionConfig |
clone() |
boolean |
equals(Object obj) |
String |
getEncryptionMode()
The encryption method to use for artifacts created by this canary.
|
String |
getKmsKeyArn()
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMS for
EncryptionMode |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEncryptionMode(String encryptionMode)
The encryption method to use for artifacts created by this canary.
|
void |
setKmsKeyArn(String kmsKeyArn)
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMS for
EncryptionMode |
String |
toString()
Returns a string representation of this object.
|
S3EncryptionConfig |
withEncryptionMode(EncryptionMode encryptionMode)
The encryption method to use for artifacts created by this canary.
|
S3EncryptionConfig |
withEncryptionMode(String encryptionMode)
The encryption method to use for artifacts created by this canary.
|
S3EncryptionConfig |
withKmsKeyArn(String kmsKeyArn)
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMS for
EncryptionMode |
public void setEncryptionMode(String 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.
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.
EncryptionModepublic String getEncryptionMode()
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.
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 S3EncryptionConfig withEncryptionMode(String 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.
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.
EncryptionModepublic S3EncryptionConfig withEncryptionMode(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.
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.
EncryptionModepublic void setKmsKeyArn(String kmsKeyArn)
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionMode
kmsKeyArn - The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionModepublic String getKmsKeyArn()
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionMode
SSE-KMS for
EncryptionModepublic S3EncryptionConfig withKmsKeyArn(String kmsKeyArn)
The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionMode
kmsKeyArn - The ARN of the customer-managed KMS key to use, if you specify SSE-KMS for
EncryptionModepublic String toString()
toString in class ObjectObject.toString()public S3EncryptionConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.