@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ComponentEvent extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
ComponentEvent() |
Modifier and Type | Method and Description |
---|---|
ComponentEvent |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to perform when a specific event is raised.
|
ActionParameters |
getParameters()
Describes information about the action.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(String action)
The action to perform when a specific event is raised.
|
void |
setParameters(ActionParameters parameters)
Describes information about the action.
|
String |
toString()
Returns a string representation of this object.
|
ComponentEvent |
withAction(String action)
The action to perform when a specific event is raised.
|
ComponentEvent |
withParameters(ActionParameters parameters)
Describes information about the action.
|
public void setAction(String action)
The action to perform when a specific event is raised.
action
- The action to perform when a specific event is raised.public String getAction()
The action to perform when a specific event is raised.
public ComponentEvent withAction(String action)
The action to perform when a specific event is raised.
action
- The action to perform when a specific event is raised.public void setParameters(ActionParameters parameters)
Describes information about the action.
parameters
- Describes information about the action.public ActionParameters getParameters()
Describes information about the action.
public ComponentEvent withParameters(ActionParameters parameters)
Describes information about the action.
parameters
- Describes information about the action.public String toString()
toString
in class Object
Object.toString()
public ComponentEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.