public static interface JobRun.Builder extends SdkPojo, CopyableBuilder<JobRun.Builder,JobRun>
| Modifier and Type | Method and Description |
|---|---|
JobRun.Builder |
applicationId(String applicationId)
The ID of the application the job is running on.
|
JobRun.Builder |
arn(String arn)
The execution role ARN of the job run.
|
default JobRun.Builder |
billedResourceUtilization(Consumer<ResourceUtilization.Builder> billedResourceUtilization)
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run.
|
JobRun.Builder |
billedResourceUtilization(ResourceUtilization billedResourceUtilization)
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the 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 |
executionRole(String executionRole)
The execution role ARN of the job run.
|
JobRun.Builder |
executionTimeoutMinutes(Long executionTimeoutMinutes)
Returns the job run timeout value from the
StartJobRun call. |
default JobRun.Builder |
jobDriver(Consumer<JobDriver.Builder> jobDriver)
The job driver for the job run.
|
JobRun.Builder |
jobDriver(JobDriver jobDriver)
The job driver for the job run.
|
JobRun.Builder |
jobRunId(String jobRunId)
The ID of the job run.
|
JobRun.Builder |
name(String name)
The optional job run name.
|
default JobRun.Builder |
networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
Sets the value of the NetworkConfiguration property for this object.
|
JobRun.Builder |
networkConfiguration(NetworkConfiguration networkConfiguration)
Sets the value of the NetworkConfiguration property for this object.
|
JobRun.Builder |
releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application your job is running on.
|
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)
The state details of the job run.
|
JobRun.Builder |
tags(Map<String,String> tags)
The tags assigned to the job run.
|
JobRun.Builder |
totalExecutionDurationSeconds(Integer totalExecutionDurationSeconds)
The job run total execution duration in seconds.
|
default JobRun.Builder |
totalResourceUtilization(Consumer<TotalResourceUtilization.Builder> totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the
time the job terminates, rounded up to the nearest second.
|
JobRun.Builder |
totalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the
time the job terminates, rounded up to the nearest second.
|
JobRun.Builder |
updatedAt(Instant updatedAt)
The date and time when the job run was updated.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildJobRun.Builder applicationId(String applicationId)
The ID of the application the job is running on.
applicationId - The ID of the application the job is running on.JobRun.Builder jobRunId(String jobRunId)
The ID of the job run.
jobRunId - The ID of the job run.JobRun.Builder name(String name)
The optional job run name. This doesn't have to be unique.
name - The optional job run name. This doesn't have to be unique.JobRun.Builder arn(String arn)
The execution role ARN of the job run.
arn - The execution role ARN of the job run.JobRun.Builder createdBy(String createdBy)
The user who created the job run.
createdBy - The user who created the job run.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 updatedAt(Instant updatedAt)
The date and time when the job run was updated.
updatedAt - The date and time when the job run was updated.JobRun.Builder executionRole(String executionRole)
The execution role ARN of the job run.
executionRole - The execution role ARN of the 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 stateDetails(String stateDetails)
The state details of the job run.
stateDetails - The state details of the job run.JobRun.Builder releaseLabel(String releaseLabel)
The Amazon EMR release associated with the application your job is running on.
releaseLabel - The Amazon EMR release associated with the application your job is running on.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)
The job driver for the job run.
jobDriver - The job driver for the job run.default JobRun.Builder jobDriver(Consumer<JobDriver.Builder> 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 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 tags(Map<String,String> tags)
The tags assigned to the job run.
tags - The tags assigned to the job run.JobRun.Builder totalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.
totalResourceUtilization - The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until
the time the job terminates, rounded up to the nearest second.default JobRun.Builder totalResourceUtilization(Consumer<TotalResourceUtilization.Builder> totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.
This is a convenience method that creates an instance of theTotalResourceUtilization.Builder
avoiding the need to create one manually via TotalResourceUtilization.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to totalResourceUtilization(TotalResourceUtilization).
totalResourceUtilization - a consumer that will call methods on TotalResourceUtilization.BuildertotalResourceUtilization(TotalResourceUtilization)JobRun.Builder networkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration - The new value for the NetworkConfiguration property for this object.default JobRun.Builder networkConfiguration(Consumer<NetworkConfiguration.Builder> networkConfiguration)
NetworkConfiguration.Builder avoiding
the need to create one manually via NetworkConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to networkConfiguration(NetworkConfiguration).
networkConfiguration - a consumer that will call methods on NetworkConfiguration.BuildernetworkConfiguration(NetworkConfiguration)JobRun.Builder totalExecutionDurationSeconds(Integer totalExecutionDurationSeconds)
The job run total execution duration in seconds. This field is only available for job runs in a
COMPLETED, FAILED, or CANCELLED state.
totalExecutionDurationSeconds - The job run total execution duration in seconds. This field is only available for job runs in a
COMPLETED, FAILED, or CANCELLED state.JobRun.Builder executionTimeoutMinutes(Long executionTimeoutMinutes)
Returns the job run timeout value from the StartJobRun call. If no timeout was specified, then
it returns the default timeout of 720 minutes.
executionTimeoutMinutes - Returns the job run timeout value from the StartJobRun call. If no timeout was specified,
then it returns the default timeout of 720 minutes.JobRun.Builder billedResourceUtilization(ResourceUtilization billedResourceUtilization)
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.
billedResourceUtilization - The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The
billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per
worker. Note that billed resources do not include usage for idle pre-initialized workers.default JobRun.Builder billedResourceUtilization(Consumer<ResourceUtilization.Builder> billedResourceUtilization)
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.
This is a convenience method that creates an instance of theResourceUtilization.Builder avoiding the
need to create one manually via ResourceUtilization.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to billedResourceUtilization(ResourceUtilization).
billedResourceUtilization - a consumer that will call methods on ResourceUtilization.BuilderbilledResourceUtilization(ResourceUtilization)Copyright © 2023. All rights reserved.