Class JobAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.JobAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<JobAttributes>
- Enclosing interface:
JobAttributes
@Stability(Experimental)
public static final class JobAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<JobAttributes>
A builder for
JobAttributes
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofJobAttributes.getJobName()
Sets the value ofJobAttributes.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
jobName
Sets the value ofJobAttributes.getJobName()
- Parameters:
jobName
- The name of the job. This parameter is required.- Returns:
this
-
role
Sets the value ofJobAttributes.getRole()
- Parameters:
role
- The IAM role assumed by Glue to run this job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<JobAttributes>
- Returns:
- a new instance of
JobAttributes
- Throws:
NullPointerException
- if any required attribute was not provided
-