Interface JobTemplateData.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<JobTemplateData.Builder,,JobTemplateData> SdkBuilder<JobTemplateData.Builder,,JobTemplateData> SdkPojo
- Enclosing class:
JobTemplateData
@Mutable
@NotThreadSafe
public static interface JobTemplateData.Builder
extends SdkPojo, CopyableBuilder<JobTemplateData.Builder,JobTemplateData>
-
Method Summary
Modifier and TypeMethodDescriptiondefault JobTemplateData.BuilderconfigurationOverrides(Consumer<ParametricConfigurationOverrides.Builder> configurationOverrides) The configuration settings that are used to override defaults configuration.configurationOverrides(ParametricConfigurationOverrides configurationOverrides) The configuration settings that are used to override defaults configuration.executionRoleArn(String executionRoleArn) The execution role ARN of the job run.default JobTemplateData.BuilderjobDriver(Consumer<JobDriver.Builder> jobDriver) Sets the value of the JobDriver property for this object.Sets the value of the JobDriver property for this object.The tags assigned to jobs started using the job template.parameterConfiguration(Map<String, TemplateParameterConfiguration> parameterConfiguration) The configuration of parameters existing in the job template.releaseLabel(String releaseLabel) The release version of Amazon EMR.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
executionRoleArn
The execution role ARN of the job run.
- Parameters:
executionRoleArn- The execution role ARN of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLabel
The release version of Amazon EMR.
- Parameters:
releaseLabel- The release version of Amazon EMR.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationOverrides
JobTemplateData.Builder configurationOverrides(ParametricConfigurationOverrides configurationOverrides) The configuration settings that are used to override defaults configuration.
- Parameters:
configurationOverrides- The configuration settings that are used to override defaults configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationOverrides
default JobTemplateData.Builder configurationOverrides(Consumer<ParametricConfigurationOverrides.Builder> configurationOverrides) The configuration settings that are used to override defaults configuration.
This is a convenience method that creates an instance of theParametricConfigurationOverrides.Builderavoiding the need to create one manually viaParametricConfigurationOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfigurationOverrides(ParametricConfigurationOverrides).- Parameters:
configurationOverrides- a consumer that will call methods onParametricConfigurationOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jobDriver
Sets the value of the JobDriver property for this object.- Parameters:
jobDriver- The new value for the JobDriver property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDriver
Sets the value of the JobDriver property for this object. This is a convenience method that creates an instance of theJobDriver.Builderavoiding the need to create one manually viaJobDriver.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobDriver(JobDriver).- Parameters:
jobDriver- a consumer that will call methods onJobDriver.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parameterConfiguration
JobTemplateData.Builder parameterConfiguration(Map<String, TemplateParameterConfiguration> parameterConfiguration) The configuration of parameters existing in the job template.
- Parameters:
parameterConfiguration- The configuration of parameters existing in the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTags
The tags assigned to jobs started using the job template.
- Parameters:
jobTags- The tags assigned to jobs started using the job template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-