@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.
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)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
copy
public final String jobName()
The name of a job to be executed.
public final boolean hasArguments()
public final 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 final 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 final String securityConfiguration()
The name of the SecurityConfiguration
structure to be used with this action.
SecurityConfiguration
structure to be used with this action.public final NotificationProperty notificationProperty()
Specifies configuration properties of a job run notification.
public final String crawlerName()
The name of the crawler to be used with this action.
public Action.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Action.Builder,Action>
public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()
Copyright © 2021 Amazon Web Services, Inc. All Rights Reserved.