public static interface JobRun.Builder extends SdkPojo, CopyableBuilder<JobRun.Builder,JobRun>
| Modifier and Type | Method and Description |
|---|---|
JobRun.Builder |
arn(String arn)
The ARN of job run.
|
JobRun.Builder |
clientToken(String clientToken)
The client token used to start a job run.
|
JobRun.Builder |
configurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
|
default JobRun.Builder |
configurationOverrides(Consumer<ConfigurationOverrides.Builder> configurationOverrides)
The configuration settings that are used to override default configuration.
|
JobRun.Builder |
createdAt(Instant createdAt)
The date and time when the job run was created.
|
JobRun.Builder |
createdBy(String createdBy)
The user who created the job run.
|
JobRun.Builder |
executionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
|
JobRun.Builder |
failureReason(FailureReason failureReason)
The reasons why the job run has failed.
|
JobRun.Builder |
failureReason(String failureReason)
The reasons why the job run has failed.
|
JobRun.Builder |
finishedAt(Instant finishedAt)
The date and time when the job run has finished.
|
JobRun.Builder |
id(String id)
The ID of the job run.
|
default JobRun.Builder |
jobDriver(Consumer<JobDriver.Builder> jobDriver)
Parameters of job driver for the job run.
|
JobRun.Builder |
jobDriver(JobDriver jobDriver)
Parameters of job driver for the job run.
|
JobRun.Builder |
name(String name)
The name of the job run.
|
JobRun.Builder |
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.
|
JobRun.Builder |
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.
|
JobRun.Builder |
retryPolicyExecution(RetryPolicyExecution retryPolicyExecution)
The current status of the retry policy executed on the job.
|
JobRun.Builder |
state(JobRunState state)
The state of the job run.
|
JobRun.Builder |
state(String state)
The state of the job run.
|
JobRun.Builder |
stateDetails(String stateDetails)
Additional details of the job run state.
|
JobRun.Builder |
tags(Map<String,String> tags)
The assigned tags of the job run.
|
JobRun.Builder |
virtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJobRun.Builder id(String id)
The ID of the job run.
id - The ID of the job run.JobRun.Builder name(String name)
The name of the job run.
name - The name of the job run.JobRun.Builder virtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
virtualClusterId - The ID of the job run's virtual cluster.JobRun.Builder arn(String arn)
The ARN of job run.
arn - The ARN of job run.JobRun.Builder state(String state)
The state of the job run.
state - The state of the job run.JobRunState,
JobRunStateJobRun.Builder state(JobRunState state)
The state of the job run.
state - The state of the job run.JobRunState,
JobRunStateJobRun.Builder clientToken(String clientToken)
The client token used to start a job run.
clientToken - The client token used to start a job run.JobRun.Builder executionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
executionRoleArn - The execution role ARN of the job run.JobRun.Builder releaseLabel(String releaseLabel)
The release version of Amazon EMR.
releaseLabel - The release version of Amazon EMR.JobRun.Builder configurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
configurationOverrides - The configuration settings that are used to override default configuration.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 via ConfigurationOverrides.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to configurationOverrides(ConfigurationOverrides).
configurationOverrides - a consumer that will call methods on ConfigurationOverrides.BuilderconfigurationOverrides(ConfigurationOverrides)JobRun.Builder jobDriver(JobDriver jobDriver)
Parameters of job driver for the job run.
jobDriver - Parameters of job driver for the job run.default JobRun.Builder jobDriver(Consumer<JobDriver.Builder> 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 via JobDriver.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to jobDriver(JobDriver).
jobDriver - a consumer that will call methods on JobDriver.BuilderjobDriver(JobDriver)JobRun.Builder createdAt(Instant createdAt)
The date and time when the job run was created.
createdAt - The date and time when the job run was created.JobRun.Builder createdBy(String createdBy)
The user who created the job run.
createdBy - The user who created the job run.JobRun.Builder finishedAt(Instant finishedAt)
The date and time when the job run has finished.
finishedAt - The date and time when the job run has finished.JobRun.Builder stateDetails(String stateDetails)
Additional details of the job run state.
stateDetails - Additional details of the job run state.JobRun.Builder failureReason(String failureReason)
The reasons why the job run has failed.
failureReason - The reasons why the job run has failed.FailureReason,
FailureReasonJobRun.Builder failureReason(FailureReason failureReason)
The reasons why the job run has failed.
failureReason - The reasons why the job run has failed.FailureReason,
FailureReasonJobRun.Builder tags(Map<String,String> tags)
The assigned tags of the job run.
tags - The assigned tags of the job run.JobRun.Builder retryPolicyConfiguration(RetryPolicyConfiguration retryPolicyConfiguration)
The configuration of the retry policy that the job runs on.
retryPolicyConfiguration - The configuration of the retry policy that the job runs on.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 via RetryPolicyConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to retryPolicyConfiguration(RetryPolicyConfiguration).
retryPolicyConfiguration - a consumer that will call methods on RetryPolicyConfiguration.BuilderretryPolicyConfiguration(RetryPolicyConfiguration)JobRun.Builder retryPolicyExecution(RetryPolicyExecution retryPolicyExecution)
The current status of the retry policy executed on the job.
retryPolicyExecution - The current status of the retry policy executed on the job.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 via RetryPolicyExecution.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to retryPolicyExecution(RetryPolicyExecution).
retryPolicyExecution - a consumer that will call methods on RetryPolicyExecution.BuilderretryPolicyExecution(RetryPolicyExecution)Copyright © 2023. All rights reserved.