Interface StartJobRunRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<StartJobRunRequest.Builder,StartJobRunRequest>,EmrContainersRequest.Builder,SdkBuilder<StartJobRunRequest.Builder,StartJobRunRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- StartJobRunRequest
public static interface StartJobRunRequest.Builder extends EmrContainersRequest.Builder, SdkPojo, CopyableBuilder<StartJobRunRequest.Builder,StartJobRunRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description StartJobRunRequest.BuilderclientToken(String clientToken)The client idempotency token of the job run request.default StartJobRunRequest.BuilderconfigurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides)The configuration overrides for the job run.StartJobRunRequest.BuilderconfigurationOverrides(ConfigurationOverrides configurationOverrides)The configuration overrides for the job run.StartJobRunRequest.BuilderexecutionRoleArn(String executionRoleArn)The execution role ARN for the job run.default StartJobRunRequest.BuilderjobDriver(Consumer<JobDriver.Builder> jobDriver)The job driver for the job run.StartJobRunRequest.BuilderjobDriver(JobDriver jobDriver)The job driver for the job run.StartJobRunRequest.BuilderjobTemplateId(String jobTemplateId)The job template ID to be used to start the job run.StartJobRunRequest.BuilderjobTemplateParameters(Map<String,String> jobTemplateParameters)The values of job template parameters to start a job run.StartJobRunRequest.Buildername(String name)The name of the job run.StartJobRunRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)StartJobRunRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)StartJobRunRequest.BuilderreleaseLabel(String releaseLabel)The Amazon EMR release version to use for the job run.default StartJobRunRequest.BuilderretryPolicyConfiguration(Consumer<RetryPolicyConfiguration.Builder> retryPolicyConfiguration)The retry policy configuration for the job run.StartJobRunRequest.BuilderretryPolicyConfiguration(RetryPolicyConfiguration retryPolicyConfiguration)The retry policy configuration for the job run.StartJobRunRequest.Buildertags(Map<String,String> tags)The tags assigned to job runs.StartJobRunRequest.BuildervirtualClusterId(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 Detail
-
name
StartJobRunRequest.Builder name(String 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
StartJobRunRequest.Builder virtualClusterId(String 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
StartJobRunRequest.Builder clientToken(String 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
StartJobRunRequest.Builder executionRoleArn(String 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
StartJobRunRequest.Builder releaseLabel(String 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
StartJobRunRequest.Builder jobDriver(JobDriver 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
default StartJobRunRequest.Builder jobDriver(Consumer<JobDriver.Builder> jobDriver)
The job driver for the job run.
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:
jobDriver(JobDriver)
-
configurationOverrides
StartJobRunRequest.Builder configurationOverrides(ConfigurationOverrides 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.Builderavoiding the need to create one manually viaConfigurationOverrides.builder().When the
Consumercompletes,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:
configurationOverrides(ConfigurationOverrides)
-
tags
StartJobRunRequest.Builder tags(Map<String,String> 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
StartJobRunRequest.Builder jobTemplateId(String 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
StartJobRunRequest.Builder jobTemplateParameters(Map<String,String> 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.Builderavoiding the need to create one manually viaRetryPolicyConfiguration.builder().When the
Consumercompletes,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:
retryPolicyConfiguration(RetryPolicyConfiguration)
-
overrideConfiguration
StartJobRunRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
StartJobRunRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-