@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()
An updated
cron expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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)
An updated
cron expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. |
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)
An updated
cron expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. |
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)
An updated cron
expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
schedule
- An updated cron
expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.public String getSchedule()
An updated cron
expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
cron
expression used to specify the schedule (see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would
specify: cron(15 12 * * ? *)
.public TriggerUpdate withSchedule(String schedule)
An updated cron
expression used to specify the schedule (see Time-Based Schedules for
Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
schedule
- An updated cron
expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.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 Object
Object.toString()
public TriggerUpdate clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.