@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRun extends Object implements Serializable, Cloneable, StructuredPojo
This entity describes a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
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 |
getArn()
The ARN of job run.
|
String |
getClientToken()
The client token used to start a 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 |
getExecutionRoleArn()
The execution role ARN of the job run.
|
String |
getFailureReason()
The reasons why the job run has failed.
|
Date |
getFinishedAt()
The date and time when the job run has finished.
|
String |
getId()
The ID of the job run.
|
JobDriver |
getJobDriver()
Parameters of job driver for the job run.
|
String |
getName()
The name of the job run.
|
String |
getReleaseLabel()
The release version of Amazon EMR.
|
String |
getState()
The state of the job run.
|
String |
getStateDetails()
Additional details of the job run state.
|
Map<String,String> |
getTags()
The assigned tags of the job run.
|
String |
getVirtualClusterId()
The ID of the job run's virtual cluster.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
The ARN of job run.
|
void |
setClientToken(String clientToken)
The client token used to start a 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 |
setExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
|
void |
setFailureReason(String failureReason)
The reasons why the job run has failed.
|
void |
setFinishedAt(Date finishedAt)
The date and time when the job run has finished.
|
void |
setId(String id)
The ID of the job run.
|
void |
setJobDriver(JobDriver jobDriver)
Parameters of job driver for the job run.
|
void |
setName(String name)
The name of the job run.
|
void |
setReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
|
void |
setState(String state)
The state of the job run.
|
void |
setStateDetails(String stateDetails)
Additional details of the job run state.
|
void |
setTags(Map<String,String> tags)
The assigned tags of the job run.
|
void |
setVirtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
|
String |
toString()
Returns a string representation of this object.
|
JobRun |
withArn(String arn)
The ARN of job run.
|
JobRun |
withClientToken(String clientToken)
The client token used to start a 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 |
withExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
|
JobRun |
withFailureReason(FailureReason failureReason)
The reasons why the job run has failed.
|
JobRun |
withFailureReason(String failureReason)
The reasons why the job run has failed.
|
JobRun |
withFinishedAt(Date finishedAt)
The date and time when the job run has finished.
|
JobRun |
withId(String id)
The ID of the job run.
|
JobRun |
withJobDriver(JobDriver jobDriver)
Parameters of job driver for the job run.
|
JobRun |
withName(String name)
The name of the job run.
|
JobRun |
withReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
|
JobRun |
withState(JobRunState state)
The state of the job run.
|
JobRun |
withState(String state)
The state of the job run.
|
JobRun |
withStateDetails(String stateDetails)
Additional details of the job run state.
|
JobRun |
withTags(Map<String,String> tags)
The assigned tags of the job run.
|
JobRun |
withVirtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
|
public void setId(String id)
The ID of the job run.
id
- The ID of the job run.public String getId()
The ID of the job run.
public JobRun withId(String id)
The ID of the job run.
id
- The ID of the job run.public void setName(String name)
The name of the job run.
name
- The name of the job run.public String getName()
The name of the job run.
public JobRun withName(String name)
The name of the job run.
name
- The name of the job run.public void setVirtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
virtualClusterId
- The ID of the job run's virtual cluster.public String getVirtualClusterId()
The ID of the job run's virtual cluster.
public JobRun withVirtualClusterId(String virtualClusterId)
The ID of the job run's virtual cluster.
virtualClusterId
- The ID of the job run's virtual cluster.public void setArn(String arn)
The ARN of job run.
arn
- The ARN of job run.public String getArn()
The ARN of job run.
public JobRun withArn(String arn)
The ARN of job run.
arn
- The ARN of 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 setClientToken(String clientToken)
The client token used to start a job run.
clientToken
- The client token used to start a job run.public String getClientToken()
The client token used to start a job run.
public JobRun withClientToken(String clientToken)
The client token used to start a job run.
clientToken
- The client token used to start a job run.public void setExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
executionRoleArn
- The execution role ARN of the job run.public String getExecutionRoleArn()
The execution role ARN of the job run.
public JobRun withExecutionRoleArn(String executionRoleArn)
The execution role ARN of the job run.
executionRoleArn
- The execution role ARN of the job run.public void setReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
releaseLabel
- The release version of Amazon EMR.public String getReleaseLabel()
The release version of Amazon EMR.
public JobRun withReleaseLabel(String releaseLabel)
The release version of Amazon EMR.
releaseLabel
- The release version of Amazon EMR.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)
Parameters of job driver for the job run.
jobDriver
- Parameters of job driver for the job run.public JobDriver getJobDriver()
Parameters of job driver for the job run.
public JobRun withJobDriver(JobDriver jobDriver)
Parameters of job driver for the job run.
jobDriver
- Parameters of job driver for 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 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 setFinishedAt(Date finishedAt)
The date and time when the job run has finished.
finishedAt
- The date and time when the job run has finished.public Date getFinishedAt()
The date and time when the job run has finished.
public JobRun withFinishedAt(Date finishedAt)
The date and time when the job run has finished.
finishedAt
- The date and time when the job run has finished.public void setStateDetails(String stateDetails)
Additional details of the job run state.
stateDetails
- Additional details of the job run state.public String getStateDetails()
Additional details of the job run state.
public JobRun withStateDetails(String stateDetails)
Additional details of the job run state.
stateDetails
- Additional details of the job run state.public void setFailureReason(String failureReason)
The reasons why the job run has failed.
failureReason
- The reasons why the job run has failed.FailureReason
public String getFailureReason()
The reasons why the job run has failed.
FailureReason
public JobRun withFailureReason(String failureReason)
The reasons why the job run has failed.
failureReason
- The reasons why the job run has failed.FailureReason
public JobRun withFailureReason(FailureReason failureReason)
The reasons why the job run has failed.
failureReason
- The reasons why the job run has failed.FailureReason
public Map<String,String> getTags()
The assigned tags of the job run.
public void setTags(Map<String,String> tags)
The assigned tags of the job run.
tags
- The assigned tags of the job run.public JobRun withTags(Map<String,String> tags)
The assigned tags of the job run.
tags
- The assigned tags of the job run.public JobRun clearTagsEntries()
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.