Interface ComponentEvent.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComponentEvent.Builder,ComponentEvent>,SdkBuilder<ComponentEvent.Builder,ComponentEvent>,SdkPojo
- Enclosing class:
- ComponentEvent
public static interface ComponentEvent.Builder extends SdkPojo, CopyableBuilder<ComponentEvent.Builder,ComponentEvent>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ComponentEvent.Builderaction(String action)The action to perform when a specific event is raised.ComponentEvent.BuilderbindingEvent(String bindingEvent)Binds an event to an action on a component.default ComponentEvent.Builderparameters(Consumer<ActionParameters.Builder> parameters)Describes information about the action.ComponentEvent.Builderparameters(ActionParameters parameters)Describes information about the action.-
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
-
action
ComponentEvent.Builder action(String action)
The action to perform when a specific event is raised.
- Parameters:
action- The action to perform when a specific event is raised.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
ComponentEvent.Builder parameters(ActionParameters parameters)
Describes information about the action.
- Parameters:
parameters- Describes information about the action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
default ComponentEvent.Builder parameters(Consumer<ActionParameters.Builder> parameters)
Describes information about the action.
This is a convenience method that creates an instance of theActionParameters.Builderavoiding the need to create one manually viaActionParameters.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toparameters(ActionParameters).- Parameters:
parameters- a consumer that will call methods onActionParameters.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
parameters(ActionParameters)
-
bindingEvent
ComponentEvent.Builder bindingEvent(String bindingEvent)
Binds an event to an action on a component. When you specify a
bindingEvent, the event is called when the action is performed.- Parameters:
bindingEvent- Binds an event to an action on a component. When you specify abindingEvent, the event is called when the action is performed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-