@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
Defines an action to be initiated by a trigger.
| Constructor and Description |
|---|
Action() |
| Modifier and Type | Method and Description |
|---|---|
Action |
addArgumentsEntry(String key,
String value) |
Action |
clearArgumentsEntries()
Removes all the entries added into Arguments.
|
Action |
clone() |
boolean |
equals(Object obj) |
Map<String,String> |
getArguments()
Arguments to be passed to the job.
|
String |
getJobName()
The name of a job to be executed.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setArguments(Map<String,String> arguments)
Arguments to be passed to the job.
|
void |
setJobName(String jobName)
The name of a job to be executed.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Action |
withArguments(Map<String,String> arguments)
Arguments to be passed to the job.
|
Action |
withJobName(String jobName)
The name of a job to be executed.
|
public void setJobName(String jobName)
The name of a job to be executed.
jobName - The name of a job to be executed.public String getJobName()
The name of a job to be executed.
public Action withJobName(String jobName)
The name of a job to be executed.
jobName - The name of a job to be executed.public Map<String,String> getArguments()
Arguments to be passed to the job.
public void setArguments(Map<String,String> arguments)
Arguments to be passed to the job.
arguments - Arguments to be passed to the job.public Action withArguments(Map<String,String> arguments)
Arguments to be passed to the job.
arguments - Arguments to be passed to the job.public Action clearArgumentsEntries()
public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.