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
Modifier and TypeMethodDescriptiondefault EventSource.Builderparameters(Consumer<EventParameters.Builder> parameters) Information about the event.parameters(EventParameters parameters) Information about the event.The source of the event.type(EventSourceValues type) The source of the event.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, sdkFields
-
Method Details
-
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:
-
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:
-
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
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:
-