@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.
|
NotificationProperty |
getNotificationProperty()
Specifies configuration properties of a job run notification.
|
Integer |
getTimeout()
The job run timeout in minutes.
|
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.
|
void |
setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job run notification.
|
void |
setTimeout(Integer timeout)
The job run timeout in minutes.
|
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.
|
Action |
withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job run notification.
|
Action |
withTimeout(Integer timeout)
The job run timeout in minutes.
|
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.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public void setArguments(Map<String,String> arguments)
Arguments to be passed to the job.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
arguments
- Arguments to be passed to the job.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public Action withArguments(Map<String,String> arguments)
Arguments to be passed to the job.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
arguments
- Arguments to be passed to the job.
You can specify arguments here that your own job-execution script consumes, as well as arguments that AWS Glue itself consumes.
For information about how to specify and consume your own Job arguments, see the Calling AWS Glue APIs in Python topic in the developer guide.
For information about the key-value pairs that AWS Glue consumes to set up your job, see the Special Parameters Used by AWS Glue topic in the developer guide.
public Action clearArgumentsEntries()
public void setTimeout(Integer timeout)
The job run timeout in minutes. It overrides the timeout value of the job.
timeout
- The job run timeout in minutes. It overrides the timeout value of the job.public Integer getTimeout()
The job run timeout in minutes. It overrides the timeout value of the job.
public Action withTimeout(Integer timeout)
The job run timeout in minutes. It overrides the timeout value of the job.
timeout
- The job run timeout in minutes. It overrides the timeout value of the job.public void setNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job run notification.
notificationProperty
- Specifies configuration properties of a job run notification.public NotificationProperty getNotificationProperty()
Specifies configuration properties of a job run notification.
public Action withNotificationProperty(NotificationProperty notificationProperty)
Specifies configuration properties of a job run notification.
notificationProperty
- Specifies configuration properties of a job run notification.public String toString()
toString
in class Object
Object.toString()
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.