@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnEnterLifecycle extends Object implements Serializable, Cloneable, StructuredPojo
When entering this state, perform these actions if the condition is TRUE.
| Constructor and Description |
|---|
OnEnterLifecycle() |
| Modifier and Type | Method and Description |
|---|---|
OnEnterLifecycle |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
Specifies the actions that are performed when the state is entered and the
condition is TRUE. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setEvents(Collection<Event> events)
Specifies the actions that are performed when the state is entered and the
condition is TRUE. |
String |
toString()
Returns a string representation of this object.
|
OnEnterLifecycle |
withEvents(Collection<Event> events)
Specifies the actions that are performed when the state is entered and the
condition is TRUE. |
OnEnterLifecycle |
withEvents(Event... events)
Specifies the actions that are performed when the state is entered and the
condition is TRUE. |
public List<Event> getEvents()
Specifies the actions that are performed when the state is entered and the condition is TRUE.
condition is
TRUE.public void setEvents(Collection<Event> events)
Specifies the actions that are performed when the state is entered and the condition is TRUE.
events - Specifies the actions that are performed when the state is entered and the condition is TRUE.public OnEnterLifecycle withEvents(Event... events)
Specifies the actions that are performed when the state is entered and the condition is TRUE.
NOTE: This method appends the values to the existing list (if any). Use
setEvents(java.util.Collection) or withEvents(java.util.Collection) if you want to override the
existing values.
events - Specifies the actions that are performed when the state is entered and the condition is TRUE.public OnEnterLifecycle withEvents(Collection<Event> events)
Specifies the actions that are performed when the state is entered and the condition is TRUE.
events - Specifies the actions that are performed when the state is entered and the condition is TRUE.public String toString()
toString in class ObjectObject.toString()public OnEnterLifecycle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2020. All rights reserved.