Interface JobRun.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<JobRun.Builder,
,JobRun> SdkBuilder<JobRun.Builder,
,JobRun> SdkPojo
- Enclosing class:
JobRun
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of job run.clientToken
(String clientToken) The client token used to start a job run.default JobRun.Builder
configurationOverrides
(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration settings that are used to override default configuration.configurationOverrides
(ConfigurationOverrides configurationOverrides) The configuration settings that are used to override default configuration.The date and time when the job run was created.The user who created the job run.executionRoleArn
(String executionRoleArn) The execution role ARN of the job run.failureReason
(String failureReason) The reasons why the job run has failed.failureReason
(FailureReason failureReason) The reasons why the job run has failed.finishedAt
(Instant finishedAt) The date and time when the job run has finished.The ID of the job run.default JobRun.Builder
jobDriver
(Consumer<JobDriver.Builder> jobDriver) Parameters of job driver for the job run.Parameters of job driver for the job run.The name of the job run.releaseLabel
(String releaseLabel) The release version of Amazon EMR.default JobRun.Builder
retryPolicyConfiguration
(Consumer<RetryPolicyConfiguration.Builder> retryPolicyConfiguration) The configuration of the retry policy that the job runs on.retryPolicyConfiguration
(RetryPolicyConfiguration retryPolicyConfiguration) The configuration of the retry policy that the job runs on.default JobRun.Builder
retryPolicyExecution
(Consumer<RetryPolicyExecution.Builder> retryPolicyExecution) The current status of the retry policy executed on the job.retryPolicyExecution
(RetryPolicyExecution retryPolicyExecution) The current status of the retry policy executed on the job.The state of the job run.state
(JobRunState state) The state of the job run.stateDetails
(String stateDetails) Additional details of the job run state.The assigned tags of the job run.virtualClusterId
(String virtualClusterId) The ID of the job run's virtual cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
id
The ID of the job run.
- Parameters:
id
- The ID of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 ID of the job run's virtual cluster.
- Parameters:
virtualClusterId
- The ID of the job run's virtual cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
The ARN of job run.
- Parameters:
arn
- The ARN of job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
The state of the job run.
- Parameters:
state
- The state of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state of the job run.
- Parameters:
state
- The state of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
The client token used to start a job run.
- Parameters:
clientToken
- The client token used to start a job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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
The configuration settings that are used to override default configuration.
- Parameters:
configurationOverrides
- The configuration settings that are used to override default configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationOverrides
default JobRun.Builder configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides) The configuration settings that are used to override default configuration.
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:
-
jobDriver
Parameters of job driver for the job run.
- Parameters:
jobDriver
- Parameters of job driver for the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobDriver
Parameters of 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:
-
createdAt
The date and time when the job run was created.
- Parameters:
createdAt
- The date and time when the job run was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
The user who created the job run.
- Parameters:
createdBy
- The user who created the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
finishedAt
The date and time when the job run has finished.
- Parameters:
finishedAt
- The date and time when the job run has finished.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stateDetails
Additional details of the job run state.
- Parameters:
stateDetails
- Additional details of the job run state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failureReason
The reasons why the job run has failed.
- Parameters:
failureReason
- The reasons why the job run has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
failureReason
The reasons why the job run has failed.
- Parameters:
failureReason
- The reasons why the job run has failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The assigned tags of the job run.
- Parameters:
tags
- The assigned tags of the job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicyConfiguration
The configuration of the retry policy that the job runs on.
- Parameters:
retryPolicyConfiguration
- The configuration of the retry policy that the job runs on.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicyConfiguration
default JobRun.Builder retryPolicyConfiguration(Consumer<RetryPolicyConfiguration.Builder> retryPolicyConfiguration) The configuration of the retry policy that the job runs on.
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:
-
retryPolicyExecution
The current status of the retry policy executed on the job.
- Parameters:
retryPolicyExecution
- The current status of the retry policy executed on the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
retryPolicyExecution
default JobRun.Builder retryPolicyExecution(Consumer<RetryPolicyExecution.Builder> retryPolicyExecution) The current status of the retry policy executed on the job.
This is a convenience method that creates an instance of theRetryPolicyExecution.Builder
avoiding the need to create one manually viaRetryPolicyExecution.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toretryPolicyExecution(RetryPolicyExecution)
.- Parameters:
retryPolicyExecution
- a consumer that will call methods onRetryPolicyExecution.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-