public static final class BucketNotificationDestinationConfig.Builder
extends java.lang.Object
BucketNotificationDestinationConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BucketNotificationDestinationConfig.Builder |
arn(java.lang.String arn)
Sets the value of
BucketNotificationDestinationConfig.getArn() |
BucketNotificationDestinationConfig |
build()
Builds the configured instance.
|
BucketNotificationDestinationConfig.Builder |
dependencies(java.util.List<? extends IDependable> dependencies)
Sets the value of
BucketNotificationDestinationConfig.getDependencies() |
BucketNotificationDestinationConfig.Builder |
type(BucketNotificationDestinationType type)
Sets the value of
BucketNotificationDestinationConfig.getType() |
public BucketNotificationDestinationConfig.Builder arn(java.lang.String arn)
BucketNotificationDestinationConfig.getArn()
arn
- The ARN of the destination (i.e. Lambda, SNS, SQS). This parameter is required.this
public BucketNotificationDestinationConfig.Builder type(BucketNotificationDestinationType type)
BucketNotificationDestinationConfig.getType()
type
- The notification type. This parameter is required.this
public BucketNotificationDestinationConfig.Builder dependencies(java.util.List<? extends IDependable> dependencies)
BucketNotificationDestinationConfig.getDependencies()
dependencies
- Any additional dependencies that should be resolved before the bucket notification can be configured (for example, the SNS Topic Policy resource).this
public BucketNotificationDestinationConfig build()
BucketNotificationDestinationConfig
java.lang.NullPointerException
- if any required attribute was not provided