public static interface EventSource.Builder extends SdkPojo, CopyableBuilder<EventSource.Builder,EventSource>
| Modifier and Type | Method and Description |
|---|---|
default EventSource.Builder |
parameters(Consumer<EventParameters.Builder> parameters)
Information about the event.
|
EventSource.Builder |
parameters(EventParameters parameters)
Information about the event.
|
EventSource.Builder |
type(EventSourceValues type)
The source of the event.
|
EventSource.Builder |
type(String type)
The source of the event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEventSource.Builder type(String type)
The source of the event. Currently only managed CloudWatch Events rules are supported.
type - The source of the event. Currently only managed CloudWatch Events rules are supported.EventSourceValues,
EventSourceValuesEventSource.Builder type(EventSourceValues type)
The source of the event. Currently only managed CloudWatch Events rules are supported.
type - The source of the event. Currently only managed CloudWatch Events rules are supported.EventSourceValues,
EventSourceValuesEventSource.Builder parameters(EventParameters parameters)
Information about the event.
parameters - Information about the event.default EventSource.Builder parameters(Consumer<EventParameters.Builder> parameters)
Information about the event.
This is a convenience method that creates an instance of theEventParameters.Builder avoiding the
need to create one manually via EventParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to parameters(EventParameters).parameters - a consumer that will call methods on EventParameters.Builderparameters(EventParameters)Copyright © 2022. All rights reserved.