@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.TriggerType
public String getType()
The type of trigger that this is.
TriggerType
public Trigger withType(String type)
The type of trigger that this is.
type
- The type of trigger that this is.TriggerType
public Trigger withType(TriggerType type)
The type of trigger that this is.
type
- The type of trigger that this is.TriggerType
public void setState(String state)
The current state of the trigger.
state
- The current state of the trigger.TriggerState
public String getState()
The current state of the trigger.
TriggerState
public Trigger withState(String state)
The current state of the trigger.
state
- The current state of the trigger.TriggerState
public Trigger withState(TriggerState state)
The current state of the trigger.
state
- The current state of the trigger.TriggerState
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 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 Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.