Class CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.emrcontainers.CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobTemplatePropsMixin.JobTemplateDataProperty>
- Enclosing interface:
CfnJobTemplatePropsMixin.JobTemplateDataProperty
@Stability(Stable)
public static final class CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobTemplatePropsMixin.JobTemplateDataProperty>
A builder for
CfnJobTemplatePropsMixin.JobTemplateDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.configurationOverrides(CfnJobTemplatePropsMixin.ParametricConfigurationOverridesProperty configurationOverrides) configurationOverrides(IResolvable configurationOverrides) executionRoleArn(String executionRoleArn) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getExecutionRoleArn()Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobDriver()jobDriver(IResolvable jobDriver) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobDriver()Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobTags()jobTags(IResolvable jobTags) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobTags()parameterConfiguration(Map<String, ? extends Object> parameterConfiguration) parameterConfiguration(IResolvable parameterConfiguration) releaseLabel(String releaseLabel) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getReleaseLabel()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
configurationOverrides
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder configurationOverrides(IResolvable configurationOverrides) - Parameters:
configurationOverrides- A configuration specification to be used to override existing configurations. This data type allows job template parameters to be specified within.- Returns:
this
-
configurationOverrides
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder configurationOverrides(CfnJobTemplatePropsMixin.ParametricConfigurationOverridesProperty configurationOverrides) - Parameters:
configurationOverrides- A configuration specification to be used to override existing configurations. This data type allows job template parameters to be specified within.- Returns:
this
-
executionRoleArn
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder executionRoleArn(String executionRoleArn) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getExecutionRoleArn()- Parameters:
executionRoleArn- The execution role ARN of the job run, or a template parameter reference.- Returns:
this
-
jobDriver
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder jobDriver(IResolvable jobDriver) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobDriver()- Parameters:
jobDriver- Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.- Returns:
this
-
jobDriver
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder jobDriver(CfnJobTemplatePropsMixin.JobDriverProperty jobDriver) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobDriver()- Parameters:
jobDriver- Specify the driver that the job runs on. Exactly one of the two available job drivers is required, either SparkSqlJobDriver or SparkSubmitJobDriver.- Returns:
this
-
jobTags
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder jobTags(IResolvable jobTags) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobTags()- Parameters:
jobTags- The tags assigned to jobs started using the job template.- Returns:
this
-
jobTags
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder jobTags(Map<String, String> jobTags) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getJobTags()- Parameters:
jobTags- The tags assigned to jobs started using the job template.- Returns:
this
-
parameterConfiguration
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder parameterConfiguration(IResolvable parameterConfiguration) - Parameters:
parameterConfiguration- The configuration of parameters existing in the job template.- Returns:
this
-
parameterConfiguration
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder parameterConfiguration(Map<String, ? extends Object> parameterConfiguration) - Parameters:
parameterConfiguration- The configuration of parameters existing in the job template.- Returns:
this
-
releaseLabel
@Stability(Stable) public CfnJobTemplatePropsMixin.JobTemplateDataProperty.Builder releaseLabel(String releaseLabel) Sets the value ofCfnJobTemplatePropsMixin.JobTemplateDataProperty.getReleaseLabel()- Parameters:
releaseLabel- The release version of Amazon EMR, or a template parameter reference.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobTemplatePropsMixin.JobTemplateDataProperty>- Returns:
- a new instance of
CfnJobTemplatePropsMixin.JobTemplateDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-