Class CfnTriggerPropsMixin.ActionProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.glue.mixins.CfnTriggerPropsMixin.ActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTriggerPropsMixin.ActionProperty>
- Enclosing interface:
CfnTriggerPropsMixin.ActionProperty
@Stability(Stable)
public static final class CfnTriggerPropsMixin.ActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTriggerPropsMixin.ActionProperty>
A builder for
CfnTriggerPropsMixin.ActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnTriggerPropsMixin.ActionProperty.getArguments()build()Builds the configured instance.crawlerName(String crawlerName) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getCrawlerName()Sets the value ofCfnTriggerPropsMixin.ActionProperty.getJobName()notificationProperty(IResolvable notificationProperty) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getNotificationProperty()notificationProperty(CfnTriggerPropsMixin.NotificationPropertyProperty notificationProperty) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getNotificationProperty()securityConfiguration(String securityConfiguration) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getSecurityConfiguration()Sets the value ofCfnTriggerPropsMixin.ActionProperty.getTimeout()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
arguments
Sets the value ofCfnTriggerPropsMixin.ActionProperty.getArguments()- Parameters:
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.
- Returns:
this
-
crawlerName
@Stability(Stable) public CfnTriggerPropsMixin.ActionProperty.Builder crawlerName(String crawlerName) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getCrawlerName()- Parameters:
crawlerName- The name of the crawler to be used with this action.- Returns:
this
-
jobName
Sets the value ofCfnTriggerPropsMixin.ActionProperty.getJobName()- Parameters:
jobName- The name of a job to be executed.- Returns:
this
-
notificationProperty
@Stability(Stable) public CfnTriggerPropsMixin.ActionProperty.Builder notificationProperty(IResolvable notificationProperty) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getNotificationProperty()- Parameters:
notificationProperty- Specifies configuration properties of a job run notification.- Returns:
this
-
notificationProperty
@Stability(Stable) public CfnTriggerPropsMixin.ActionProperty.Builder notificationProperty(CfnTriggerPropsMixin.NotificationPropertyProperty notificationProperty) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getNotificationProperty()- Parameters:
notificationProperty- Specifies configuration properties of a job run notification.- Returns:
this
-
securityConfiguration
@Stability(Stable) public CfnTriggerPropsMixin.ActionProperty.Builder securityConfiguration(String securityConfiguration) Sets the value ofCfnTriggerPropsMixin.ActionProperty.getSecurityConfiguration()- Parameters:
securityConfiguration- The name of theSecurityConfigurationstructure to be used with this action.- Returns:
this
-
timeout
Sets the value ofCfnTriggerPropsMixin.ActionProperty.getTimeout()- Parameters:
timeout- TheJobRuntimeout 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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTriggerPropsMixin.ActionProperty>- Returns:
- a new instance of
CfnTriggerPropsMixin.ActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-