@Generated(value="software.amazon.awssdk:codegen") public final class JobRun extends Object implements SdkPojo, Serializable, ToCopyableBuilder<JobRun.Builder,JobRun>
Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an Amazon EMR Serverless application.
| Modifier and Type | Class and Description |
|---|---|
static interface |
JobRun.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
applicationId()
The ID of the application the job is running on.
|
String |
arn()
The execution role ARN of the job run.
|
ResourceUtilization |
billedResourceUtilization()
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run.
|
static JobRun.Builder |
builder() |
ConfigurationOverrides |
configurationOverrides()
The configuration settings that are used to override default configuration.
|
Instant |
createdAt()
The date and time when the job run was created.
|
String |
createdBy()
The user who created the job run.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
executionRole()
The execution role ARN of the job run.
|
Long |
executionTimeoutMinutes()
Returns the job run timeout value from the
StartJobRun call. |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
JobDriver |
jobDriver()
The job driver for the job run.
|
String |
jobRunId()
The ID of the job run.
|
String |
name()
The optional job run name.
|
NetworkConfiguration |
networkConfiguration()
Returns the value of the NetworkConfiguration property for this object.
|
String |
releaseLabel()
The Amazon EMR release associated with the application your job is running on.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends JobRun.Builder> |
serializableBuilderClass() |
JobRunState |
state()
The state of the job run.
|
String |
stateAsString()
The state of the job run.
|
String |
stateDetails()
The state details of the job run.
|
Map<String,String> |
tags()
The tags assigned to the job run.
|
JobRun.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
totalExecutionDurationSeconds()
The job run total execution duration in seconds.
|
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.
|
Instant |
updatedAt()
The date and time when the job run was updated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String applicationId()
The ID of the application the job is running on.
public final String jobRunId()
The ID of the job run.
public final String name()
The optional job run name. This doesn't have to be unique.
public final String arn()
The execution role ARN of the job run.
public final String createdBy()
The user who created the job run.
public final Instant createdAt()
The date and time when the job run was created.
public final Instant updatedAt()
The date and time when the job run was updated.
public final String executionRole()
The execution role ARN of the job run.
public final JobRunState state()
The state of the job run.
If the service returns an enum value that is not available in the current SDK version, state will return
JobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
JobRunStatepublic final String stateAsString()
The state of the job run.
If the service returns an enum value that is not available in the current SDK version, state will return
JobRunState.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
stateAsString().
JobRunStatepublic final String stateDetails()
The state details of the job run.
public final String releaseLabel()
The Amazon EMR release associated with the application your job is running on.
public final ConfigurationOverrides configurationOverrides()
The configuration settings that are used to override default configuration.
public final JobDriver jobDriver()
The job driver for the job run.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
The tags assigned to the job run.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public final 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.
public final NetworkConfiguration networkConfiguration()
public final 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.
COMPLETED, FAILED, or CANCELLED state.public final 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.
StartJobRun call. If no timeout was specified,
then it returns the default timeout of 720 minutes.public final 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.
public JobRun.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<JobRun.Builder,JobRun>public static JobRun.Builder builder()
public static Class<? extends JobRun.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.