@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TriggerUpdate extends Object implements Serializable, Cloneable, StructuredPojo
A structure used to provide information used to updata a trigger.
| Constructor and Description |
|---|
TriggerUpdate() |
| Modifier and Type | Method and Description |
|---|---|
TriggerUpdate |
clone() |
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions initiated by this trigger.
|
String |
getDescription()
A description of this trigger.
|
String |
getName()
The name of the trigger.
|
Predicate |
getPredicate()
The predicate of this trigger, which defines when it will fire.
|
String |
getSchedule()
A cron expression specifying the schedule.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setActions(Collection<Action> actions)
The actions initiated by this trigger.
|
void |
setDescription(String description)
A description of this trigger.
|
void |
setName(String name)
The name of the trigger.
|
void |
setPredicate(Predicate predicate)
The predicate of this trigger, which defines when it will fire.
|
void |
setSchedule(String schedule)
A cron expression specifying the schedule.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
TriggerUpdate |
withActions(Action... actions)
The actions initiated by this trigger.
|
TriggerUpdate |
withActions(Collection<Action> actions)
The actions initiated by this trigger.
|
TriggerUpdate |
withDescription(String description)
A description of this trigger.
|
TriggerUpdate |
withName(String name)
The name of the trigger.
|
TriggerUpdate |
withPredicate(Predicate predicate)
The predicate of this trigger, which defines when it will fire.
|
TriggerUpdate |
withSchedule(String schedule)
A cron expression specifying the schedule.
|
public void setName(String name)
The name of the trigger.
name - The name of the trigger.public String getName()
The name of the trigger.
public TriggerUpdate withName(String name)
The name of the trigger.
name - The name of the trigger.public void setDescription(String description)
A description of this trigger.
description - A description of this trigger.public String getDescription()
A description of this trigger.
public TriggerUpdate withDescription(String description)
A description of this trigger.
description - A description of this trigger.public void setSchedule(String schedule)
A cron expression specifying the schedule.
schedule - A cron expression specifying the schedule.public String getSchedule()
A cron expression specifying the schedule.
public TriggerUpdate withSchedule(String schedule)
A cron expression specifying the schedule.
schedule - A cron expression specifying the schedule.public List<Action> getActions()
The actions initiated by this trigger.
public void setActions(Collection<Action> actions)
The actions initiated by this trigger.
actions - The actions initiated by this trigger.public TriggerUpdate withActions(Action... actions)
The actions initiated by this trigger.
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 initiated by this trigger.public TriggerUpdate withActions(Collection<Action> actions)
The actions initiated by this trigger.
actions - The actions initiated by this trigger.public void setPredicate(Predicate predicate)
The predicate of this trigger, which defines when it will fire.
predicate - The predicate of this trigger, which defines when it will fire.public Predicate getPredicate()
The predicate of this trigger, which defines when it will fire.
public TriggerUpdate withPredicate(Predicate predicate)
The predicate of this trigger, which defines when it will fire.
predicate - The predicate of this trigger, which defines when it will fire.public String toString()
toString in class ObjectObject.toString()public TriggerUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.