@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRun extends Object implements Serializable, Cloneable, StructuredPojo
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 EMR Serverless application.
Constructor and Description |
---|
JobRun() |
Modifier and Type | Method and Description |
---|---|
JobRun |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
JobRun |
clearTagsEntries()
Removes all the entries added into Tags.
|
JobRun |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application the job is running on.
|
String |
getArn()
The execution role ARN of the job run.
|
ConfigurationOverrides |
getConfigurationOverrides()
The configuration settings that are used to override default configuration.
|
Date |
getCreatedAt()
The date and time when the job run was created.
|
String |
getCreatedBy()
The user who created the job run.
|
String |
getExecutionRole()
The execution role ARN of the job run.
|
JobDriver |
getJobDriver()
The job driver for the job run.
|
String |
getJobRunId()
The ID of the job run.
|
String |
getName()
The optional job run name.
|
NetworkConfiguration |
getNetworkConfiguration() |
String |
getReleaseLabel()
The EMR release associated with the application your job is running on.
|
String |
getState()
The state of the job run.
|
String |
getStateDetails()
The state details of the job run.
|
Map<String,String> |
getTags()
The tags assigned to the job run.
|
Integer |
getTotalExecutionDurationSeconds()
The job run total execution duration in seconds.
|
TotalResourceUtilization |
getTotalResourceUtilization()
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is
terminated, rounded up to the nearest second.
|
Date |
getUpdatedAt()
The date and time when the job run was updated.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The ID of the application the job is running on.
|
void |
setArn(String arn)
The execution role ARN of the job run.
|
void |
setConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
|
void |
setCreatedAt(Date createdAt)
The date and time when the job run was created.
|
void |
setCreatedBy(String createdBy)
The user who created the job run.
|
void |
setExecutionRole(String executionRole)
The execution role ARN of the job run.
|
void |
setJobDriver(JobDriver jobDriver)
The job driver for the job run.
|
void |
setJobRunId(String jobRunId)
The ID of the job run.
|
void |
setName(String name)
The optional job run name.
|
void |
setNetworkConfiguration(NetworkConfiguration networkConfiguration) |
void |
setReleaseLabel(String releaseLabel)
The EMR release associated with the application your job is running on.
|
void |
setState(String state)
The state of the job run.
|
void |
setStateDetails(String stateDetails)
The state details of the job run.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the job run.
|
void |
setTotalExecutionDurationSeconds(Integer totalExecutionDurationSeconds)
The job run total execution duration in seconds.
|
void |
setTotalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is
terminated, rounded up to the nearest second.
|
void |
setUpdatedAt(Date updatedAt)
The date and time when the job run was updated.
|
String |
toString()
Returns a string representation of this object.
|
JobRun |
withApplicationId(String applicationId)
The ID of the application the job is running on.
|
JobRun |
withArn(String arn)
The execution role ARN of the job run.
|
JobRun |
withConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
|
JobRun |
withCreatedAt(Date createdAt)
The date and time when the job run was created.
|
JobRun |
withCreatedBy(String createdBy)
The user who created the job run.
|
JobRun |
withExecutionRole(String executionRole)
The execution role ARN of the job run.
|
JobRun |
withJobDriver(JobDriver jobDriver)
The job driver for the job run.
|
JobRun |
withJobRunId(String jobRunId)
The ID of the job run.
|
JobRun |
withName(String name)
The optional job run name.
|
JobRun |
withNetworkConfiguration(NetworkConfiguration networkConfiguration) |
JobRun |
withReleaseLabel(String releaseLabel)
The EMR release associated with the application your job is running on.
|
JobRun |
withState(JobRunState state)
The state of the job run.
|
JobRun |
withState(String state)
The state of the job run.
|
JobRun |
withStateDetails(String stateDetails)
The state details of the job run.
|
JobRun |
withTags(Map<String,String> tags)
The tags assigned to the job run.
|
JobRun |
withTotalExecutionDurationSeconds(Integer totalExecutionDurationSeconds)
The job run total execution duration in seconds.
|
JobRun |
withTotalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is
terminated, rounded up to the nearest second.
|
JobRun |
withUpdatedAt(Date updatedAt)
The date and time when the job run was updated.
|
public void setApplicationId(String applicationId)
The ID of the application the job is running on.
applicationId
- The ID of the application the job is running on.public String getApplicationId()
The ID of the application the job is running on.
public JobRun withApplicationId(String applicationId)
The ID of the application the job is running on.
applicationId
- The ID of the application the job is running on.public void setJobRunId(String jobRunId)
The ID of the job run.
jobRunId
- The ID of the job run.public String getJobRunId()
The ID of the job run.
public JobRun withJobRunId(String jobRunId)
The ID of the job run.
jobRunId
- The ID of the job run.public void setName(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.public String getName()
The optional job run name. This doesn't have to be unique.
public JobRun withName(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.public void setArn(String arn)
The execution role ARN of the job run.
arn
- The execution role ARN of the job run.public String getArn()
The execution role ARN of the job run.
public JobRun withArn(String arn)
The execution role ARN of the job run.
arn
- The execution role ARN of the job run.public void setCreatedBy(String createdBy)
The user who created the job run.
createdBy
- The user who created the job run.public String getCreatedBy()
The user who created the job run.
public JobRun withCreatedBy(String createdBy)
The user who created the job run.
createdBy
- The user who created the job run.public void setCreatedAt(Date createdAt)
The date and time when the job run was created.
createdAt
- The date and time when the job run was created.public Date getCreatedAt()
The date and time when the job run was created.
public JobRun withCreatedAt(Date createdAt)
The date and time when the job run was created.
createdAt
- The date and time when the job run was created.public void setUpdatedAt(Date updatedAt)
The date and time when the job run was updated.
updatedAt
- The date and time when the job run was updated.public Date getUpdatedAt()
The date and time when the job run was updated.
public JobRun withUpdatedAt(Date updatedAt)
The date and time when the job run was updated.
updatedAt
- The date and time when the job run was updated.public void setExecutionRole(String executionRole)
The execution role ARN of the job run.
executionRole
- The execution role ARN of the job run.public String getExecutionRole()
The execution role ARN of the job run.
public JobRun withExecutionRole(String executionRole)
The execution role ARN of the job run.
executionRole
- The execution role ARN of the job run.public void setState(String state)
The state of the job run.
state
- The state of the job run.JobRunState
public String getState()
The state of the job run.
JobRunState
public JobRun withState(String state)
The state of the job run.
state
- The state of the job run.JobRunState
public JobRun withState(JobRunState state)
The state of the job run.
state
- The state of the job run.JobRunState
public void setStateDetails(String stateDetails)
The state details of the job run.
stateDetails
- The state details of the job run.public String getStateDetails()
The state details of the job run.
public JobRun withStateDetails(String stateDetails)
The state details of the job run.
stateDetails
- The state details of the job run.public void setReleaseLabel(String releaseLabel)
The EMR release associated with the application your job is running on.
releaseLabel
- The EMR release associated with the application your job is running on.public String getReleaseLabel()
The EMR release associated with the application your job is running on.
public JobRun withReleaseLabel(String releaseLabel)
The EMR release associated with the application your job is running on.
releaseLabel
- The EMR release associated with the application your job is running on.public void setConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
configurationOverrides
- The configuration settings that are used to override default configuration.public ConfigurationOverrides getConfigurationOverrides()
The configuration settings that are used to override default configuration.
public JobRun withConfigurationOverrides(ConfigurationOverrides configurationOverrides)
The configuration settings that are used to override default configuration.
configurationOverrides
- The configuration settings that are used to override default configuration.public void setJobDriver(JobDriver jobDriver)
The job driver for the job run.
jobDriver
- The job driver for the job run.public JobDriver getJobDriver()
The job driver for the job run.
public JobRun withJobDriver(JobDriver jobDriver)
The job driver for the job run.
jobDriver
- The job driver for the job run.public Map<String,String> getTags()
The tags assigned to the job run.
public void setTags(Map<String,String> tags)
The tags assigned to the job run.
tags
- The tags assigned to the job run.public JobRun withTags(Map<String,String> tags)
The tags assigned to the job run.
tags
- The tags assigned to the job run.public JobRun clearTagsEntries()
public void setTotalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
totalResourceUtilization
- The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job
is terminated, rounded up to the nearest second.public TotalResourceUtilization getTotalResourceUtilization()
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
public JobRun withTotalResourceUtilization(TotalResourceUtilization totalResourceUtilization)
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
totalResourceUtilization
- The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job
is terminated, rounded up to the nearest second.public void setNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public NetworkConfiguration getNetworkConfiguration()
public JobRun withNetworkConfiguration(NetworkConfiguration networkConfiguration)
networkConfiguration
- public void setTotalExecutionDurationSeconds(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.public Integer getTotalExecutionDurationSeconds()
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 JobRun withTotalExecutionDurationSeconds(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.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.