@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Trigger extends Object implements Serializable, Cloneable, StructuredPojo
Information about a specific trigger.
| Constructor and Description |
|---|
Trigger() |
| Modifier and Type | Method and Description |
|---|---|
Trigger |
clone() |
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions initiated by this trigger.
|
String |
getDescription()
A description of this trigger.
|
String |
getId()
The trigger ID.
|
String |
getName()
Name of the trigger.
|
Predicate |
getPredicate()
The predicate of this trigger.
|
String |
getSchedule()
A cron schedule expression.
|
String |
getState()
The current state of the trigger.
|
String |
getType()
The type of trigger that this is.
|
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 |
setId(String id)
The trigger ID.
|
void |
setName(String name)
Name of the trigger.
|
void |
setPredicate(Predicate predicate)
The predicate of this trigger.
|
void |
setSchedule(String schedule)
A cron schedule expression.
|
void |
setState(String state)
The current state of the trigger.
|
void |
setType(String type)
The type of trigger that this is.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Trigger |
withActions(Action... actions)
The actions initiated by this trigger.
|
Trigger |
withActions(Collection<Action> actions)
The actions initiated by this trigger.
|
Trigger |
withDescription(String description)
A description of this trigger.
|
Trigger |
withId(String id)
The trigger ID.
|
Trigger |
withName(String name)
Name of the trigger.
|
Trigger |
withPredicate(Predicate predicate)
The predicate of this trigger.
|
Trigger |
withSchedule(String schedule)
A cron schedule expression.
|
Trigger |
withState(String state)
The current state of the trigger.
|
Trigger |
withState(TriggerState state)
The current state of the trigger.
|
Trigger |
withType(String type)
The type of trigger that this is.
|
Trigger |
withType(TriggerType type)
The type of trigger that this is.
|
public void setName(String name)
Name of the trigger.
name - Name of the trigger.public String getName()
Name of the trigger.
public Trigger withName(String name)
Name of the trigger.
name - Name of the trigger.public void setId(String id)
The trigger ID.
id - The trigger ID.public String getId()
The trigger ID.
public Trigger withId(String id)
The trigger ID.
id - The trigger ID.public void setType(String type)
The type of trigger that this is.
type - The type of trigger that this is.TriggerTypepublic String getType()
The type of trigger that this is.
TriggerTypepublic Trigger withType(String type)
The type of trigger that this is.
type - The type of trigger that this is.TriggerTypepublic Trigger withType(TriggerType type)
The type of trigger that this is.
type - The type of trigger that this is.TriggerTypepublic void setState(String state)
The current state of the trigger.
state - The current state of the trigger.TriggerStatepublic String getState()
The current state of the trigger.
TriggerStatepublic Trigger withState(String state)
The current state of the trigger.
state - The current state of the trigger.TriggerStatepublic Trigger withState(TriggerState state)
The current state of the trigger.
state - The current state of the trigger.TriggerStatepublic void setDescription(String description)
A description of this trigger.
description - A description of this trigger.public String getDescription()
A description of this trigger.
public Trigger withDescription(String description)
A description of this trigger.
description - A description of this trigger.public void setSchedule(String schedule)
A cron schedule expression.
schedule - A cron schedule expression.public String getSchedule()
A cron schedule expression.
public Trigger withSchedule(String schedule)
A cron schedule expression.
schedule - A cron schedule expression.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 Trigger 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 Trigger 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.
predicate - The predicate of this trigger.public Predicate getPredicate()
The predicate of this trigger.
public Trigger withPredicate(Predicate predicate)
The predicate of this trigger.
predicate - The predicate of this trigger.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2017. All rights reserved.