Interface GetBucketNotificationConfigurationResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetBucketNotificationConfigurationResponse.Builder,GetBucketNotificationConfigurationResponse>,S3Response.Builder,SdkBuilder<GetBucketNotificationConfigurationResponse.Builder,GetBucketNotificationConfigurationResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetBucketNotificationConfigurationResponse
@Mutable @NotThreadSafe public static interface GetBucketNotificationConfigurationResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<GetBucketNotificationConfigurationResponse.Builder,GetBucketNotificationConfigurationResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetBucketNotificationConfigurationResponse.BuildereventBridgeConfiguration(Consumer<EventBridgeConfiguration.Builder> eventBridgeConfiguration)Enables delivery of events to Amazon EventBridge.GetBucketNotificationConfigurationResponse.BuildereventBridgeConfiguration(EventBridgeConfiguration eventBridgeConfiguration)Enables delivery of events to Amazon EventBridge.GetBucketNotificationConfigurationResponse.BuilderlambdaFunctionConfigurations(Collection<LambdaFunctionConfiguration> lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.GetBucketNotificationConfigurationResponse.BuilderlambdaFunctionConfigurations(Consumer<LambdaFunctionConfiguration.Builder>... lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.GetBucketNotificationConfigurationResponse.BuilderlambdaFunctionConfigurations(LambdaFunctionConfiguration... lambdaFunctionConfigurations)Describes the Lambda functions to invoke and the events for which to invoke them.GetBucketNotificationConfigurationResponse.BuilderqueueConfigurations(Collection<QueueConfiguration> queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.GetBucketNotificationConfigurationResponse.BuilderqueueConfigurations(Consumer<QueueConfiguration.Builder>... queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.GetBucketNotificationConfigurationResponse.BuilderqueueConfigurations(QueueConfiguration... queueConfigurations)The Amazon Simple Queue Service queues to publish messages to and the events for which to publish messages.GetBucketNotificationConfigurationResponse.BuildertopicConfigurations(Collection<TopicConfiguration> topicConfigurations)The topic to which notifications are sent and the events for which notifications are generated.GetBucketNotificationConfigurationResponse.BuildertopicConfigurations(Consumer<TopicConfiguration.Builder>... topicConfigurations)The topic to which notifications are sent and the events for which notifications are generated.GetBucketNotificationConfigurationResponse.BuildertopicConfigurations(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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.Builderavoiding the need to create one manually viaTopicConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#topicConfigurations(List.) - 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:
#topicConfigurations(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaQueueConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#queueConfigurations(List.) - 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:
#queueConfigurations(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaLambdaFunctionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#lambdaFunctionConfigurations(List.) - 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:
#lambdaFunctionConfigurations(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaEventBridgeConfiguration.builder().When the
Consumercompletes,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:
eventBridgeConfiguration(EventBridgeConfiguration)
-
-