@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateTriggerRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
CreateTriggerRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateTriggerRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<Action> |
getActions()
The actions initiated by this trigger when it fires.
|
String |
getDescription()
A description of the new trigger.
|
String |
getName()
The name to assign to the new trigger.
|
Predicate |
getPredicate()
A predicate to specify when the new trigger should fire.
|
String |
getSchedule()
A cron schedule expression for the new trigger.
|
String |
getType()
The type of the new trigger.
|
int |
hashCode() |
void |
setActions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
|
void |
setDescription(String description)
A description of the new trigger.
|
void |
setName(String name)
The name to assign to the new trigger.
|
void |
setPredicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
|
void |
setSchedule(String schedule)
A cron schedule expression for the new trigger.
|
void |
setType(String type)
The type of the new trigger.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateTriggerRequest |
withActions(Action... actions)
The actions initiated by this trigger when it fires.
|
CreateTriggerRequest |
withActions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
|
CreateTriggerRequest |
withDescription(String description)
A description of the new trigger.
|
CreateTriggerRequest |
withName(String name)
The name to assign to the new trigger.
|
CreateTriggerRequest |
withPredicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
|
CreateTriggerRequest |
withSchedule(String schedule)
A cron schedule expression for the new trigger.
|
CreateTriggerRequest |
withType(String type)
The type of the new trigger.
|
CreateTriggerRequest |
withType(TriggerType type)
The type of the new trigger.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setName(String name)
The name to assign to the new trigger.
name - The name to assign to the new trigger.public String getName()
The name to assign to the new trigger.
public CreateTriggerRequest withName(String name)
The name to assign to the new trigger.
name - The name to assign to the new trigger.public void setType(String type)
The type of the new trigger.
type - The type of the new trigger.TriggerTypepublic String getType()
The type of the new trigger.
TriggerTypepublic CreateTriggerRequest withType(String type)
The type of the new trigger.
type - The type of the new trigger.TriggerTypepublic CreateTriggerRequest withType(TriggerType type)
The type of the new trigger.
type - The type of the new trigger.TriggerTypepublic void setSchedule(String schedule)
A cron schedule expression for the new trigger.
schedule - A cron schedule expression for the new trigger.public String getSchedule()
A cron schedule expression for the new trigger.
public CreateTriggerRequest withSchedule(String schedule)
A cron schedule expression for the new trigger.
schedule - A cron schedule expression for the new trigger.public void setPredicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
predicate - A predicate to specify when the new trigger should fire.public Predicate getPredicate()
A predicate to specify when the new trigger should fire.
public CreateTriggerRequest withPredicate(Predicate predicate)
A predicate to specify when the new trigger should fire.
predicate - A predicate to specify when the new trigger should fire.public List<Action> getActions()
The actions initiated by this trigger when it fires.
public void setActions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
actions - The actions initiated by this trigger when it fires.public CreateTriggerRequest withActions(Action... actions)
The actions initiated by this trigger when it fires.
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 when it fires.public CreateTriggerRequest withActions(Collection<Action> actions)
The actions initiated by this trigger when it fires.
actions - The actions initiated by this trigger when it fires.public void setDescription(String description)
A description of the new trigger.
description - A description of the new trigger.public String getDescription()
A description of the new trigger.
public CreateTriggerRequest withDescription(String description)
A description of the new trigger.
description - A description of the new trigger.public String toString()
toString in class ObjectObject.toString()public CreateTriggerRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.