Interface ComponentEvent.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<ComponentEvent.Builder,,- ComponentEvent> - SdkBuilder<ComponentEvent.Builder,,- ComponentEvent> - SdkPojo
- Enclosing class:
- ComponentEvent
@Mutable
@NotThreadSafe
public static interface ComponentEvent.Builder
extends SdkPojo, CopyableBuilder<ComponentEvent.Builder,ComponentEvent> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
actionThe 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.
 
- 
parametersDescribes 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.
 
- 
parametersDescribes 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 on- ActionParameters.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
bindingEventBinds 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 a- bindingEvent, the event is called when the action is performed.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-