Interface EventSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EventSourceConfiguration.Builder,,EventSourceConfiguration> SdkBuilder<EventSourceConfiguration.Builder,,EventSourceConfiguration> SdkPojo
- Enclosing class:
EventSourceConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault EventSourceConfiguration.BuilderawsServiceEventsConfiguration(Consumer<AwsServiceEventsSourceConfiguration.Builder> awsServiceEventsConfiguration) Configuration for forwarding a single AWS service's events from the account's default event bus.awsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration awsServiceEventsConfiguration) Configuration for forwarding a single AWS service's events from the account's default event bus.default EventSourceConfiguration.BuilderpartnerEventsConfiguration(Consumer<PartnerEventsSourceConfiguration.Builder> partnerEventsConfiguration) Configuration for forwarding a partner event source's events through a managed partner event bus.partnerEventsConfiguration(PartnerEventsSourceConfiguration partnerEventsConfiguration) Configuration for forwarding a partner event source's events through a managed partner event bus.default EventSourceConfiguration.BuilderwebhookEventsConfiguration(Consumer<WebhookEventsSourceConfiguration.Builder> webhookEventsConfiguration) Configuration for receiving events that a third-party provider sends to an HTTPS webhook URL.webhookEventsConfiguration(WebhookEventsSourceConfiguration webhookEventsConfiguration) Configuration for receiving events that a third-party provider sends to an HTTPS webhook URL.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsServiceEventsConfiguration
EventSourceConfiguration.Builder awsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration awsServiceEventsConfiguration) Configuration for forwarding a single AWS service's events from the account's default event bus.
- Parameters:
awsServiceEventsConfiguration- Configuration for forwarding a single AWS service's events from the account's default event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsServiceEventsConfiguration
default EventSourceConfiguration.Builder awsServiceEventsConfiguration(Consumer<AwsServiceEventsSourceConfiguration.Builder> awsServiceEventsConfiguration) Configuration for forwarding a single AWS service's events from the account's default event bus.
This is a convenience method that creates an instance of theAwsServiceEventsSourceConfiguration.Builderavoiding the need to create one manually viaAwsServiceEventsSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsServiceEventsConfiguration(AwsServiceEventsSourceConfiguration).- Parameters:
awsServiceEventsConfiguration- a consumer that will call methods onAwsServiceEventsSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partnerEventsConfiguration
EventSourceConfiguration.Builder partnerEventsConfiguration(PartnerEventsSourceConfiguration partnerEventsConfiguration) Configuration for forwarding a partner event source's events through a managed partner event bus.
- Parameters:
partnerEventsConfiguration- Configuration for forwarding a partner event source's events through a managed partner event bus.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partnerEventsConfiguration
default EventSourceConfiguration.Builder partnerEventsConfiguration(Consumer<PartnerEventsSourceConfiguration.Builder> partnerEventsConfiguration) Configuration for forwarding a partner event source's events through a managed partner event bus.
This is a convenience method that creates an instance of thePartnerEventsSourceConfiguration.Builderavoiding the need to create one manually viaPartnerEventsSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topartnerEventsConfiguration(PartnerEventsSourceConfiguration).- Parameters:
partnerEventsConfiguration- a consumer that will call methods onPartnerEventsSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
webhookEventsConfiguration
EventSourceConfiguration.Builder webhookEventsConfiguration(WebhookEventsSourceConfiguration webhookEventsConfiguration) Configuration for receiving events that a third-party provider sends to an HTTPS webhook URL.
- Parameters:
webhookEventsConfiguration- Configuration for receiving events that a third-party provider sends to an HTTPS webhook URL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
webhookEventsConfiguration
default EventSourceConfiguration.Builder webhookEventsConfiguration(Consumer<WebhookEventsSourceConfiguration.Builder> webhookEventsConfiguration) Configuration for receiving events that a third-party provider sends to an HTTPS webhook URL.
This is a convenience method that creates an instance of theWebhookEventsSourceConfiguration.Builderavoiding the need to create one manually viaWebhookEventsSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed towebhookEventsConfiguration(WebhookEventsSourceConfiguration).- Parameters:
webhookEventsConfiguration- a consumer that will call methods onWebhookEventsSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-