Class ComponentEvent
- java.lang.Object
-
- software.amazon.awssdk.services.amplifyuibuilder.model.ComponentEvent
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ComponentEvent.Builder,ComponentEvent>
@Generated("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
Componentor aComponentChild. A button click is an example of an event.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceComponentEvent.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringaction()The action to perform when a specific event is raised.StringbindingEvent()Binds an event to an action on a component.static ComponentEvent.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ActionParametersparameters()Describes information about the action.List<SdkField<?>>sdkFields()static Class<? extends ComponentEvent.Builder>serializableBuilderClass()ComponentEvent.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final String action()
The action to perform when a specific event is raised.
- Returns:
- The action to perform when a specific event is raised.
-
parameters
public final ActionParameters parameters()
Describes information about the action.
- Returns:
- Describes information about the action.
-
bindingEvent
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.- Returns:
- Binds an event to an action on a component. When you specify a
bindingEvent, the event is called when the action is performed.
-
toBuilder
public ComponentEvent.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ComponentEvent.Builder,ComponentEvent>
-
builder
public static ComponentEvent.Builder builder()
-
serializableBuilderClass
public static Class<? extends ComponentEvent.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-