public static final class S3ActionConfig.Builder
extends java.lang.Object
S3ActionConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
S3ActionConfig.Builder |
bucketName(java.lang.String bucketName)
Sets the value of
S3ActionConfig.getBucketName() |
S3ActionConfig |
build()
Builds the configured instance.
|
S3ActionConfig.Builder |
kmsKeyArn(java.lang.String kmsKeyArn)
Sets the value of
S3ActionConfig.getKmsKeyArn() |
S3ActionConfig.Builder |
objectKeyPrefix(java.lang.String objectKeyPrefix)
Sets the value of
S3ActionConfig.getObjectKeyPrefix() |
S3ActionConfig.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
S3ActionConfig.getTopicArn() |
public S3ActionConfig.Builder bucketName(java.lang.String bucketName)
S3ActionConfig.getBucketName()
bucketName
- The name of the Amazon S3 bucket that you want to send incoming mail to. This parameter is required.this
public S3ActionConfig.Builder kmsKeyArn(java.lang.String kmsKeyArn)
S3ActionConfig.getKmsKeyArn()
kmsKeyArn
- The customer master key that Amazon SES should use to encrypt your emails before saving them to the Amazon S3 bucket.this
public S3ActionConfig.Builder objectKeyPrefix(java.lang.String objectKeyPrefix)
S3ActionConfig.getObjectKeyPrefix()
objectKeyPrefix
- The key prefix of the Amazon S3 bucket.this
public S3ActionConfig.Builder topicArn(java.lang.String topicArn)
S3ActionConfig.getTopicArn()
topicArn
- The ARN of the Amazon SNS topic to notify when the message is saved to the Amazon S3 bucket.this
public S3ActionConfig build()
S3ActionConfig
java.lang.NullPointerException
- if any required attribute was not provided