@Generated(value="software.amazon.awssdk:codegen") public final class ComponentEvent extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ComponentEvent.Builder,ComponentEvent>
Describes the configuration of an event. You can bind an event and a corresponding action to a Component
or a ComponentChild. A button click is an example of an event.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ComponentEvent.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
action()
The action to perform when a specific event is raised.
|
String |
bindingEvent()
Binds an event to an action on a component.
|
static ComponentEvent.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
ActionParameters |
parameters()
Describes information about the action.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ComponentEvent.Builder> |
serializableBuilderClass() |
ComponentEvent.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String action()
The action to perform when a specific event is raised.
public final 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, the event is
called when the action is performed.public final ActionParameters parameters()
Describes information about the action.
public ComponentEvent.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ComponentEvent.Builder,ComponentEvent>public static ComponentEvent.Builder builder()
public static Class<? extends ComponentEvent.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.