Interface S3EncryptionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>,SdkBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>,SdkPojo
- Enclosing class:
- S3EncryptionConfig
public static interface S3EncryptionConfig.Builder extends SdkPojo, CopyableBuilder<S3EncryptionConfig.Builder,S3EncryptionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3EncryptionConfig.BuilderencryptionMode(String encryptionMode)The encryption method to use for artifacts created by this canary.S3EncryptionConfig.BuilderencryptionMode(EncryptionMode encryptionMode)The encryption method to use for artifacts created by this canary.S3EncryptionConfig.BuilderkmsKeyArn(String kmsKeyArn)The ARN of the customer-managed KMS key to use, if you specifySSE-KMSforEncryptionMode-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
encryptionMode
S3EncryptionConfig.Builder encryptionMode(String 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.
- Parameters:
encryptionMode- The encryption method to use for artifacts created by this canary. SpecifySSE_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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionMode,EncryptionMode
-
encryptionMode
S3EncryptionConfig.Builder encryptionMode(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.
- Parameters:
encryptionMode- The encryption method to use for artifacts created by this canary. SpecifySSE_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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EncryptionMode,EncryptionMode
-
kmsKeyArn
S3EncryptionConfig.Builder kmsKeyArn(String kmsKeyArn)
The ARN of the customer-managed KMS key to use, if you specify
SSE-KMSforEncryptionMode- Parameters:
kmsKeyArn- The ARN of the customer-managed KMS key to use, if you specifySSE-KMSforEncryptionMode- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-