Interface EventSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<EventSource.Builder,EventSource>,SdkBuilder<EventSource.Builder,EventSource>,SdkPojo
- Enclosing class:
- EventSource
public static interface EventSource.Builder extends SdkPojo, CopyableBuilder<EventSource.Builder,EventSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default EventSource.Builderparameters(Consumer<EventParameters.Builder> parameters)Information about the event.EventSource.Builderparameters(EventParameters parameters)Information about the event.EventSource.Buildertype(String type)The source of the event.EventSource.Buildertype(EventSourceValues type)The source of the event.-
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, sdkFields
-
-
-
-
Method Detail
-
type
EventSource.Builder type(String type)
The source of the event. Currently only managed CloudWatch Events rules are supported.
- Parameters:
type- The source of the event. Currently only managed CloudWatch Events rules are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceValues,EventSourceValues
-
type
EventSource.Builder type(EventSourceValues type)
The source of the event. Currently only managed CloudWatch Events rules are supported.
- Parameters:
type- The source of the event. Currently only managed CloudWatch Events rules are supported.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EventSourceValues,EventSourceValues
-
parameters
EventSource.Builder parameters(EventParameters parameters)
Information about the event.
- Parameters:
parameters- Information about the event.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
default EventSource.Builder parameters(Consumer<EventParameters.Builder> parameters)
Information about the event.
This is a convenience method that creates an instance of theEventParameters.Builderavoiding the need to create one manually viaEventParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(EventParameters).- Parameters:
parameters- a consumer that will call methods onEventParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parameters(EventParameters)
-
-