@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class OnExitLifecycle extends Object implements Serializable, Cloneable, StructuredPojo
When exiting this state, perform these actions
if the specified condition
is
TRUE
.
Constructor and Description |
---|
OnExitLifecycle() |
Modifier and Type | Method and Description |
---|---|
OnExitLifecycle |
clone() |
boolean |
equals(Object obj) |
List<Event> |
getEvents()
Specifies the
actions that are performed when the state is exited and the condition is
TRUE . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEvents(Collection<Event> events)
Specifies the
actions that are performed when the state is exited and the condition is
TRUE . |
String |
toString()
Returns a string representation of this object.
|
OnExitLifecycle |
withEvents(Collection<Event> events)
Specifies the
actions that are performed when the state is exited and the condition is
TRUE . |
OnExitLifecycle |
withEvents(Event... events)
Specifies the
actions that are performed when the state is exited and the condition is
TRUE . |
public List<Event> getEvents()
Specifies the actions
that are performed when the state is exited and the condition
is
TRUE
.
actions
that are performed when the state is exited and the
condition
is TRUE
.public void setEvents(Collection<Event> events)
Specifies the actions
that are performed when the state is exited and the condition
is
TRUE
.
events
- Specifies the actions
that are performed when the state is exited and the
condition
is TRUE
.public OnExitLifecycle withEvents(Event... events)
Specifies the actions
that are performed when the state is exited 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 exited and the
condition
is TRUE
.public OnExitLifecycle withEvents(Collection<Event> events)
Specifies the actions
that are performed when the state is exited and the condition
is
TRUE
.
events
- Specifies the actions
that are performed when the state is exited and the
condition
is TRUE
.public String toString()
toString
in class Object
Object.toString()
public OnExitLifecycle clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.