Interface GetBucketNotificationConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetBucketNotificationConfigurationResponse.Builder,
,GetBucketNotificationConfigurationResponse> S3Response.Builder
,SdkBuilder<GetBucketNotificationConfigurationResponse.Builder,
,GetBucketNotificationConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetBucketNotificationConfigurationResponse
-
Method Summary
Modifier and TypeMethodDescriptioneventBridgeConfiguration
(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.eventBridgeConfiguration
(EventBridgeConfiguration eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.lambdaFunctionConfigurations
(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.lambdaFunctionConfigurations
(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.lambdaFunctionConfigurations
(LambdaFunctionConfiguration... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.queueConfigurations
(Collection<QueueConfiguration> queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.queueConfigurations
(Consumer<QueueConfiguration.Builder>... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.queueConfigurations
(QueueConfiguration... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.topicConfigurations
(Collection<TopicConfiguration> topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.topicConfigurations
(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.topicConfigurations
(TopicConfiguration... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
topicConfigurations
GetBucketNotificationConfigurationResponse.Builder topicConfigurations(Collection<TopicConfiguration> topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
GetBucketNotificationConfigurationResponse.Builder topicConfigurations(TopicConfiguration... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.
- Parameters:
topicConfigurations
- The topic to which notifications are sent and the events for which notifications are generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topicConfigurations
GetBucketNotificationConfigurationResponse.Builder topicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations) The topic to which notifications are sent and the events for which notifications are generated.
This is a convenience method that creates an instance of theTopicConfiguration.Builder
avoiding the need to create one manually viaTopicConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totopicConfigurations(List<TopicConfiguration>)
.- Parameters:
topicConfigurations
- a consumer that will call methods onTopicConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
queueConfigurations
GetBucketNotificationConfigurationResponse.Builder queueConfigurations(Collection<QueueConfiguration> queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueConfigurations
GetBucketNotificationConfigurationResponse.Builder queueConfigurations(QueueConfiguration... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
- Parameters:
queueConfigurations
- The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
queueConfigurations
GetBucketNotificationConfigurationResponse.Builder queueConfigurations(Consumer<QueueConfiguration.Builder>... queueConfigurations) The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.
This is a convenience method that creates an instance of theQueueConfiguration.Builder
avoiding the need to create one manually viaQueueConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toqueueConfigurations(List<QueueConfiguration>)
.- Parameters:
queueConfigurations
- a consumer that will call methods onQueueConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lambdaFunctionConfigurations
GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
- Parameters:
lambdaFunctionConfigurations
- Describes the Lambda functions to invoke and the events for which to invoke them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionConfigurations
GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(LambdaFunctionConfiguration... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
- Parameters:
lambdaFunctionConfigurations
- Describes the Lambda functions to invoke and the events for which to invoke them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lambdaFunctionConfigurations
GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations) Describes the Lambda functions to invoke and the events for which to invoke them.
This is a convenience method that creates an instance of theLambdaFunctionConfiguration.Builder
avoiding the need to create one manually viaLambdaFunctionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolambdaFunctionConfigurations(List<LambdaFunctionConfiguration>)
.- Parameters:
lambdaFunctionConfigurations
- a consumer that will call methods onLambdaFunctionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eventBridgeConfiguration
GetBucketNotificationConfigurationResponse.Builder eventBridgeConfiguration(EventBridgeConfiguration eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.
- Parameters:
eventBridgeConfiguration
- Enables delivery of events to Amazon EventBridge.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventBridgeConfiguration
default GetBucketNotificationConfigurationResponse.Builder eventBridgeConfiguration(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration) Enables delivery of events to Amazon EventBridge.
This is a convenience method that creates an instance of theEventBridgeConfiguration.Builder
avoiding the need to create one manually viaEventBridgeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeventBridgeConfiguration(EventBridgeConfiguration)
.- Parameters:
eventBridgeConfiguration
- a consumer that will call methods onEventBridgeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-