Interface StartJobRunRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<StartJobRunRequest.Builder,
,StartJobRunRequest> EmrContainersRequest.Builder
,SdkBuilder<StartJobRunRequest.Builder,
,StartJobRunRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
StartJobRunRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken
(String clientToken) The client idempotency token of the job run request.default StartJobRunRequest.Builder
configurationOverrides
(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration overrides for the job run.configurationOverrides
(ConfigurationOverrides configurationOverrides) The configuration overrides for the job run.executionRoleArn
(String executionRoleArn) The execution role ARN for the job run.default StartJobRunRequest.Builder
jobDriver
(Consumer<JobDriver.Builder> jobDriver) The job driver for the job run.The job driver for the job run.jobTemplateId
(String jobTemplateId) The job template ID to be used to start the job run.jobTemplateParameters
(Map<String, String> jobTemplateParameters) The values of job template parameters to start a job run.The name of the job run.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.releaseLabel
(String releaseLabel) The Amazon EMR release version to use for the job run.default StartJobRunRequest.Builder
retryPolicyConfiguration
(Consumer<RetryPolicyConfiguration.Builder> retryPolicyConfiguration) The retry policy configuration for the job run.retryPolicyConfiguration
(RetryPolicyConfiguration retryPolicyConfiguration) The retry policy configuration for the job run.The tags assigned to job runs.virtualClusterId
(String virtualClusterId) The virtual cluster ID for which the job run request is submitted.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.emrcontainers.model.EmrContainersRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
name
The name of the job run.
- Parameters:
name
- The name of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
virtualClusterId
The virtual cluster ID for which the job run request is submitted.
- Parameters:
virtualClusterId
- The virtual cluster ID for which the job run request is submitted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
The client idempotency token of the job run request.
- Parameters:
clientToken
- The client idempotency token of the job run request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
executionRoleArn
The execution role ARN for the job run.
- Parameters:
executionRoleArn
- The execution role ARN for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
releaseLabel
The Amazon EMR release version to use for the job run.
- Parameters:
releaseLabel
- The Amazon EMR release version to use for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDriver
The job driver for the job run.
- Parameters:
jobDriver
- The job driver for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDriver
The job driver for the job run.
This is a convenience method that creates an instance of theJobDriver.Builder
avoiding the need to create one manually viaJobDriver.builder()
.When the
Consumer
completes,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:
-
configurationOverrides
The configuration overrides for the job run.
- Parameters:
configurationOverrides
- The configuration overrides for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationOverrides
default StartJobRunRequest.Builder configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration overrides for the job run.
This is a convenience method that creates an instance of theConfigurationOverrides.Builder
avoiding the need to create one manually viaConfigurationOverrides.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfigurationOverrides(ConfigurationOverrides)
.- Parameters:
configurationOverrides
- a consumer that will call methods onConfigurationOverrides.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The tags assigned to job runs.
- Parameters:
tags
- The tags assigned to job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplateId
The job template ID to be used to start the job run.
- Parameters:
jobTemplateId
- The job template ID to be used to start the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobTemplateParameters
The values of job template parameters to start a job run.
- Parameters:
jobTemplateParameters
- The values of job template parameters to start a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicyConfiguration
StartJobRunRequest.Builder retryPolicyConfiguration(RetryPolicyConfiguration retryPolicyConfiguration) The retry policy configuration for the job run.
- Parameters:
retryPolicyConfiguration
- The retry policy configuration for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicyConfiguration
default StartJobRunRequest.Builder retryPolicyConfiguration(Consumer<RetryPolicyConfiguration.Builder> retryPolicyConfiguration) The retry policy configuration for the job run.
This is a convenience method that creates an instance of theRetryPolicyConfiguration.Builder
avoiding the need to create one manually viaRetryPolicyConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryPolicyConfiguration(RetryPolicyConfiguration)
.- Parameters:
retryPolicyConfiguration
- a consumer that will call methods onRetryPolicyConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
StartJobRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
StartJobRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-