Class S3.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.S3.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<S3>
- Enclosing class:
S3
@Stability(Stable)
public static final class S3.Builder
extends Object
implements software.amazon.jsii.Builder<S3>
A fluent builder for
S3
.-
Method Summary
Modifier and TypeMethodDescriptionThe S3 bucket that incoming email will be saved to.build()
static S3.Builder
create()
The master key that SES should use to encrypt your emails before saving them to the S3 bucket.objectKeyPrefix
(String objectKeyPrefix) The key prefix of the S3 bucket.The SNS topic to notify when the S3 action is taken.
-
Method Details
-
create
- Returns:
- a new instance of
S3.Builder
.
-
bucket
The S3 bucket that incoming email will be saved to.- Parameters:
bucket
- The S3 bucket that incoming email will be saved to. This parameter is required.- Returns:
this
-
kmsKey
The master key that SES should use to encrypt your emails before saving them to the S3 bucket.Default: no encryption
- Parameters:
kmsKey
- The master key that SES should use to encrypt your emails before saving them to the S3 bucket. This parameter is required.- Returns:
this
-
objectKeyPrefix
The key prefix of the S3 bucket.Default: no prefix
- Parameters:
objectKeyPrefix
- The key prefix of the S3 bucket. This parameter is required.- Returns:
this
-
topic
The SNS topic to notify when the S3 action is taken.Default: no notification
- Parameters:
topic
- The SNS topic to notify when the S3 action is taken. This parameter is required.- Returns:
this
-
build
-