@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
Defines an action to be initiated by a trigger.
| Type | Property and Description |
|---|---|
NotificationProperty |
notification
Specifies configuration properties of a job run notification.
|
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
arguments()
The job arguments used when this trigger fires.
|
static Action.Builder |
builder() |
String |
crawlerName()
The name of the crawler to be used with this action.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasArguments()
Returns true if the Arguments property was specified by the sender (it may be empty), or false if the sender did
not specify the value (it will be empty).
|
int |
hashCode() |
String |
jobName()
The name of a job to be executed.
|
NotificationProperty |
notificationProperty()
Specifies configuration properties of a job run notification.
|
List<SdkField<?>> |
sdkFields() |
String |
securityConfiguration()
The name of the
SecurityConfiguration structure to be used with this action. |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
Integer |
timeout()
The
JobRun timeout in minutes. |
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic NotificationProperty notificationProperty
Specifies configuration properties of a job run notification.
public String jobName()
The name of a job to be executed.
public boolean hasArguments()
public Map<String,String> arguments()
The job arguments used when this trigger fires. For this job run, they replace the default arguments set in the job definition itself.
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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasArguments() to see if a value was sent in this field.
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 Integer timeout()
The JobRun timeout in minutes. This is the maximum time that a job run can consume resources before
it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours). This overrides
the timeout value set in the parent job.
JobRun timeout in minutes. This is the maximum time that a job run can consume resources
before it is terminated and enters TIMEOUT status. The default is 2,880 minutes (48 hours).
This overrides the timeout value set in the parent job.public String securityConfiguration()
The name of the SecurityConfiguration structure to be used with this action.
SecurityConfiguration structure to be used with this action.public NotificationProperty notificationProperty()
Specifies configuration properties of a job run notification.
public String crawlerName()
The name of the crawler to be used with this action.
public Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.