public static final class JobAttributes.Builder
extends java.lang.Object
JobAttributes
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
JobAttributes |
build()
Builds the configured instance.
|
JobAttributes.Builder |
jobName(java.lang.String jobName)
Sets the value of
JobAttributes.getJobName() |
JobAttributes.Builder |
role(IRole role)
Sets the value of
JobAttributes.getRole() |
public JobAttributes.Builder jobName(java.lang.String jobName)
JobAttributes.getJobName()
jobName
- The name of the job. This parameter is required.this
public JobAttributes.Builder role(IRole role)
JobAttributes.getRole()
role
- The IAM role assumed by Glue to run this job.this
public JobAttributes build()
JobAttributes
java.lang.NullPointerException
- if any required attribute was not provided