Interface QueueConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<QueueConfiguration.Builder,QueueConfiguration>,SdkBuilder<QueueConfiguration.Builder,QueueConfiguration>,SdkPojo
- Enclosing class:
- QueueConfiguration
@Mutable @NotThreadSafe public static interface QueueConfiguration.Builder extends SdkPojo, CopyableBuilder<QueueConfiguration.Builder,QueueConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description QueueConfiguration.Builderevents(Collection<Event> events)A collection of bucket events for which to send notificationsQueueConfiguration.Builderevents(Event... events)A collection of bucket events for which to send notificationsQueueConfiguration.BuildereventsWithStrings(String... events)A collection of bucket events for which to send notificationsQueueConfiguration.BuildereventsWithStrings(Collection<String> events)A collection of bucket events for which to send notificationsdefault QueueConfiguration.Builderfilter(Consumer<NotificationConfigurationFilter.Builder> filter)Sets the value of the Filter property for this object.QueueConfiguration.Builderfilter(NotificationConfigurationFilter filter)Sets the value of the Filter property for this object.QueueConfiguration.Builderid(String id)Sets the value of the Id property for this object.QueueConfiguration.BuilderqueueArn(String queueArn)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.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
id
QueueConfiguration.Builder id(String id)
Sets the value of the Id property for this object.- Parameters:
id- The new value for the Id property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueArn
QueueConfiguration.Builder queueArn(String queueArn)
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.
- Parameters:
queueArn- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsWithStrings
QueueConfiguration.Builder eventsWithStrings(Collection<String> events)
A collection of bucket events for which to send notifications
- Parameters:
events- A collection of bucket events for which to send notifications- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventsWithStrings
QueueConfiguration.Builder eventsWithStrings(String... events)
A collection of bucket events for which to send notifications
- Parameters:
events- A collection of bucket events for which to send notifications- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
QueueConfiguration.Builder events(Collection<Event> events)
A collection of bucket events for which to send notifications
- Parameters:
events- A collection of bucket events for which to send notifications- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
events
QueueConfiguration.Builder events(Event... events)
A collection of bucket events for which to send notifications
- Parameters:
events- A collection of bucket events for which to send notifications- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
QueueConfiguration.Builder filter(NotificationConfigurationFilter filter)
Sets the value of the Filter property for this object.- Parameters:
filter- The new value for the Filter property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filter
default QueueConfiguration.Builder filter(Consumer<NotificationConfigurationFilter.Builder> filter)
Sets the value of the Filter property for this object. This is a convenience method that creates an instance of theNotificationConfigurationFilter.Builderavoiding the need to create one manually viaNotificationConfigurationFilter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilter(NotificationConfigurationFilter).- Parameters:
filter- a consumer that will call methods onNotificationConfigurationFilter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
filter(NotificationConfigurationFilter)
-
-