| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public JobProps.Builder executable(JobExecutable executable)
JobProps.getExecutable()executable - The job's executable properties. This parameter is required.this@Stability(value=Experimental) public JobProps.Builder connections(List<? extends IConnection> connections)
JobProps.getConnections()connections - The Connections used for this job.
Connections are used to connect to other AWS Service or resources within a VPC.this@Stability(value=Experimental) public JobProps.Builder continuousLogging(ContinuousLoggingProps continuousLogging)
JobProps.getContinuousLogging()continuousLogging - Enables continuous logging with the specified props.this@Stability(value=Experimental) public JobProps.Builder defaultArguments(Map<String,String> defaultArguments)
JobProps.getDefaultArguments()defaultArguments - The default arguments for this job, specified as name-value pairs.this@Stability(value=Experimental) public JobProps.Builder description(String description)
JobProps.getDescription()description - The description of the job.this@Stability(value=Experimental) public JobProps.Builder enableProfilingMetrics(Boolean enableProfilingMetrics)
JobProps.getEnableProfilingMetrics()enableProfilingMetrics - Enables the collection of metrics for job profiling.this@Stability(value=Experimental) public JobProps.Builder jobName(String jobName)
JobProps.getJobName()jobName - The name of the job.this@Stability(value=Experimental) public JobProps.Builder maxCapacity(Number maxCapacity)
JobProps.getMaxCapacity()maxCapacity - The number of AWS Glue data processing units (DPUs) that can be allocated when this job runs.
Cannot be used for Glue version 2.0 and later - workerType and workerCount should be used instead.this@Stability(value=Experimental) public JobProps.Builder maxConcurrentRuns(Number maxConcurrentRuns)
JobProps.getMaxConcurrentRuns()maxConcurrentRuns - The maximum number of concurrent runs allowed for the job.
An error is returned when this threshold is reached. The maximum value you can specify is controlled by a service limit.this@Stability(value=Experimental) public JobProps.Builder maxRetries(Number maxRetries)
JobProps.getMaxRetries()maxRetries - The maximum number of times to retry this job after a job run fails.this@Stability(value=Experimental) public JobProps.Builder notifyDelayAfter(Duration notifyDelayAfter)
JobProps.getNotifyDelayAfter()notifyDelayAfter - The number of minutes to wait after a job run starts, before sending a job run delay notification.this@Stability(value=Experimental) public JobProps.Builder role(IRole role)
JobProps.getRole()role - The IAM role assumed by Glue to run this job.
If providing a custom role, it needs to trust the Glue service principal (glue.amazonaws.com) and be granted sufficient permissions.this@Stability(value=Experimental) public JobProps.Builder securityConfiguration(ISecurityConfiguration securityConfiguration)
JobProps.getSecurityConfiguration()securityConfiguration - The SecurityConfiguration to use for this job.this@Stability(value=Experimental) public JobProps.Builder sparkUi(SparkUIProps sparkUi)
JobProps#getSparkUisparkUi - Enables the Spark UI debugging and monitoring with the specified props.this@Stability(value=Experimental) public JobProps.Builder tags(Map<String,String> tags)
JobProps.getTags()tags - The tags to add to the resources on which the job runs.this@Stability(value=Experimental) public JobProps.Builder timeout(Duration timeout)
JobProps.getTimeout()timeout - The maximum time that a job run can consume resources before it is terminated and enters TIMEOUT status.this@Stability(value=Experimental) public JobProps.Builder workerCount(Number workerCount)
JobProps.getWorkerCount()workerCount - The number of workers of a defined WorkerType that are allocated when a job runs.this@Stability(value=Experimental) public JobProps.Builder workerType(WorkerType workerType)
JobProps.getWorkerType()workerType - The type of predefined worker that is allocated when a job runs.this@Stability(value=Experimental) public JobProps build()
build in interface software.amazon.jsii.Builder<JobProps>JobPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.