public static interface ComponentEvent.Builder extends SdkPojo, CopyableBuilder<ComponentEvent.Builder,ComponentEvent>
| Modifier and Type | Method and Description |
|---|---|
ComponentEvent.Builder |
action(String action)
The action to perform when a specific event is raised.
|
ComponentEvent.Builder |
bindingEvent(String bindingEvent)
Binds an event to an action on a component.
|
ComponentEvent.Builder |
parameters(ActionParameters parameters)
Describes information about the action.
|
default ComponentEvent.Builder |
parameters(Consumer<ActionParameters.Builder> parameters)
Describes information about the action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildComponentEvent.Builder action(String action)
The action to perform when a specific event is raised.
action - The action to perform when a specific event is raised.ComponentEvent.Builder parameters(ActionParameters parameters)
Describes information about the action.
parameters - Describes information about the action.default ComponentEvent.Builder parameters(Consumer<ActionParameters.Builder> parameters)
Describes information about the action.
This is a convenience method that creates an instance of theActionParameters.Builder avoiding the
need to create one manually via ActionParameters.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to parameters(ActionParameters).
parameters - a consumer that will call methods on ActionParameters.Builderparameters(ActionParameters)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.
bindingEvent - Binds an event to an action on a component. When you specify a bindingEvent, the event is
called when the action is performed.Copyright © 2023. All rights reserved.