@Stability(value=Stable) public static final class CfnBucket.QueueConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnBucket.QueueConfigurationProperty>
CfnBucket.QueueConfigurationProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnBucket.QueueConfigurationProperty |
build()
Builds the configured instance.
|
CfnBucket.QueueConfigurationProperty.Builder |
event(String event)
Sets the value of
CfnBucket.QueueConfigurationProperty.getEvent() |
CfnBucket.QueueConfigurationProperty.Builder |
filter(CfnBucket.NotificationFilterProperty filter)
Sets the value of
CfnBucket.QueueConfigurationProperty.getFilter() |
CfnBucket.QueueConfigurationProperty.Builder |
filter(IResolvable filter)
Sets the value of
CfnBucket.QueueConfigurationProperty.getFilter() |
CfnBucket.QueueConfigurationProperty.Builder |
queue(String queue)
Sets the value of
CfnBucket.QueueConfigurationProperty.getQueue() |
@Stability(value=Stable) public CfnBucket.QueueConfigurationProperty.Builder event(String event)
CfnBucket.QueueConfigurationProperty.getEvent()event - The Amazon S3 bucket event about which you want to publish messages to Amazon SQS. This parameter is required.
For more information, see Supported Event Types in the Amazon S3 User Guide .this@Stability(value=Stable) public CfnBucket.QueueConfigurationProperty.Builder queue(String queue)
CfnBucket.QueueConfigurationProperty.getQueue()queue - The Amazon Resource Name (ARN) of the Amazon SQS queue to which Amazon S3 publishes a message when it detects events of the specified type. This parameter is required.
FIFO queues are not allowed when enabling an SQS queue as the event notification destination.this@Stability(value=Stable) public CfnBucket.QueueConfigurationProperty.Builder filter(CfnBucket.NotificationFilterProperty filter)
CfnBucket.QueueConfigurationProperty.getFilter()filter - The filtering rules that determine which objects trigger notifications.
For example, you can create a filter so that Amazon S3 sends notifications only when image files with a .jpg extension are added to the bucket. For more information, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide .this@Stability(value=Stable) public CfnBucket.QueueConfigurationProperty.Builder filter(IResolvable filter)
CfnBucket.QueueConfigurationProperty.getFilter()filter - The filtering rules that determine which objects trigger notifications.
For example, you can create a filter so that Amazon S3 sends notifications only when image files with a .jpg extension are added to the bucket. For more information, see Configuring event notifications using object key name filtering in the Amazon S3 User Guide .this@Stability(value=Stable) public CfnBucket.QueueConfigurationProperty build()
build in interface software.amazon.jsii.Builder<CfnBucket.QueueConfigurationProperty>CfnBucket.QueueConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.