public static final class CfnTrigger.ActionProperty.Builder
extends java.lang.Object
CfnTrigger.ActionProperty
Constructor and Description |
---|
Builder() |
public CfnTrigger.ActionProperty.Builder arguments(java.lang.Object arguments)
CfnTrigger.ActionProperty.getArguments()
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, in addition to arguments that AWS Glue itself consumes.
For information about how to specify and consume your own job arguments, see Calling AWS Glue APIs in Python in the AWS Glue 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.
this
public CfnTrigger.ActionProperty.Builder crawlerName(java.lang.String crawlerName)
CfnTrigger.ActionProperty.getCrawlerName()
crawlerName
- The name of the crawler to be used with this action.this
public CfnTrigger.ActionProperty.Builder jobName(java.lang.String jobName)
CfnTrigger.ActionProperty.getJobName()
jobName
- The name of a job to be executed.this
public CfnTrigger.ActionProperty.Builder notificationProperty(IResolvable notificationProperty)
CfnTrigger.ActionProperty.getNotificationProperty()
notificationProperty
- Specifies configuration properties of a job run notification.this
public CfnTrigger.ActionProperty.Builder notificationProperty(CfnTrigger.NotificationPropertyProperty notificationProperty)
CfnTrigger.ActionProperty.getNotificationProperty()
notificationProperty
- Specifies configuration properties of a job run notification.this
public CfnTrigger.ActionProperty.Builder securityConfiguration(java.lang.String securityConfiguration)
CfnTrigger.ActionProperty.getSecurityConfiguration()
securityConfiguration
- The name of the `SecurityConfiguration` structure to be used with this action.this
public CfnTrigger.ActionProperty.Builder timeout(java.lang.Number timeout)
CfnTrigger.ActionProperty.getTimeout()
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.this
public CfnTrigger.ActionProperty build()
CfnTrigger.ActionProperty
java.lang.NullPointerException
- if any required attribute was not provided