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
Modifier and TypeMethodDescriptionThe action to perform when a specific event is raised.bindingEvent(String bindingEvent) Binds an event to an action on a component.default ComponentEvent.Builderparameters(Consumer<ActionParameters.Builder> parameters) Describes information about the action.parameters(ActionParameters parameters) Describes information about the action.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
- 
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
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
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:
 
 - 
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.
 
 
 -