@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TransitionEvent extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the actions performed and the next state entered when a condition evaluates to TRUE.
| Constructor and Description |
|---|
TransitionEvent() |
| Modifier and Type | Method and Description |
|---|---|
TransitionEvent |
clone() |
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions to be performed.
|
String |
getCondition()
Required.
|
String |
getEventName()
The name of the transition event.
|
String |
getNextState()
The next state to enter.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setActions(Collection<Action> actions)
The actions to be performed.
|
void |
setCondition(String condition)
Required.
|
void |
setEventName(String eventName)
The name of the transition event.
|
void |
setNextState(String nextState)
The next state to enter.
|
String |
toString()
Returns a string representation of this object.
|
TransitionEvent |
withActions(Action... actions)
The actions to be performed.
|
TransitionEvent |
withActions(Collection<Action> actions)
The actions to be performed.
|
TransitionEvent |
withCondition(String condition)
Required.
|
TransitionEvent |
withEventName(String eventName)
The name of the transition event.
|
TransitionEvent |
withNextState(String nextState)
The next state to enter.
|
public void setEventName(String eventName)
The name of the transition event.
eventName - The name of the transition event.public String getEventName()
The name of the transition event.
public TransitionEvent withEventName(String eventName)
The name of the transition event.
eventName - The name of the transition event.public void setCondition(String condition)
Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState
to be entered.
condition - Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextState to be entered.public String getCondition()
Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState
to be entered.
nextState to be entered.public TransitionEvent withCondition(String condition)
Required. A Boolean expression that when TRUE causes the actions to be performed and the nextState
to be entered.
condition - Required. A Boolean expression that when TRUE causes the actions to be performed and the
nextState to be entered.public List<Action> getActions()
The actions to be performed.
public void setActions(Collection<Action> actions)
The actions to be performed.
actions - The actions to be performed.public TransitionEvent withActions(Action... actions)
The actions to be performed.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection) or withActions(java.util.Collection) if you want to override
the existing values.
actions - The actions to be performed.public TransitionEvent withActions(Collection<Action> actions)
The actions to be performed.
actions - The actions to be performed.public void setNextState(String nextState)
The next state to enter.
nextState - The next state to enter.public String getNextState()
The next state to enter.
public TransitionEvent withNextState(String nextState)
The next state to enter.
nextState - The next state to enter.public String toString()
toString in class ObjectObject.toString()public TransitionEvent clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.