@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Event extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the actions
to be performed when the condition
evaluates to TRUE.
Constructor and Description |
---|
Event() |
Modifier and Type | Method and Description |
---|---|
Event |
clone() |
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions to be performed.
|
String |
getCondition()
Optional.
|
String |
getEventName()
The name of the event.
|
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)
Optional.
|
void |
setEventName(String eventName)
The name of the event.
|
String |
toString()
Returns a string representation of this object.
|
Event |
withActions(Action... actions)
The actions to be performed.
|
Event |
withActions(Collection<Action> actions)
The actions to be performed.
|
Event |
withCondition(String condition)
Optional.
|
Event |
withEventName(String eventName)
The name of the event.
|
public void setEventName(String eventName)
The name of the event.
eventName
- The name of the event.public String getEventName()
The name of the event.
public Event withEventName(String eventName)
The name of the event.
eventName
- The name of the event.public void setCondition(String condition)
Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not
performed (=FALSE).
condition
- Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions
are not performed (=FALSE).public String getCondition()
Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not
performed (=FALSE).
actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions
are not performed (=FALSE).public Event withCondition(String condition)
Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions are not
performed (=FALSE).
condition
- Optional. The Boolean expression that, when TRUE, causes the actions
to be performed. If not
present, the actions are performed (=TRUE). If the expression result is not a Boolean value, the actions
are not performed (=FALSE).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 Event 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 Event withActions(Collection<Action> actions)
The actions to be performed.
actions
- The actions to be performed.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.