@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRunSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of attributes associated with a job run.
Constructor and Description |
---|
JobRunSummary() |
Modifier and Type | Method and Description |
---|---|
JobRunSummary |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The ID of the application the job is running on.
|
String |
getArn()
The ARN of the job run.
|
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.
|
String |
getId()
The ID of the job run.
|
String |
getName()
The optional job run name.
|
String |
getReleaseLabel()
The Amazon 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.
|
String |
getType()
The type of job run, such as Spark or Hive.
|
Date |
getUpdatedAt()
The date and time when the job run was last 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 ARN of the job run.
|
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 |
setId(String id)
The ID of the job run.
|
void |
setName(String name)
The optional job run name.
|
void |
setReleaseLabel(String releaseLabel)
The Amazon 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 |
setType(String type)
The type of job run, such as Spark or Hive.
|
void |
setUpdatedAt(Date updatedAt)
The date and time when the job run was last updated.
|
String |
toString()
Returns a string representation of this object.
|
JobRunSummary |
withApplicationId(String applicationId)
The ID of the application the job is running on.
|
JobRunSummary |
withArn(String arn)
The ARN of the job run.
|
JobRunSummary |
withCreatedAt(Date createdAt)
The date and time when the job run was created.
|
JobRunSummary |
withCreatedBy(String createdBy)
The user who created the job run.
|
JobRunSummary |
withExecutionRole(String executionRole)
The execution role ARN of the job run.
|
JobRunSummary |
withId(String id)
The ID of the job run.
|
JobRunSummary |
withName(String name)
The optional job run name.
|
JobRunSummary |
withReleaseLabel(String releaseLabel)
The Amazon EMR release associated with the application your job is running on.
|
JobRunSummary |
withState(JobRunState state)
The state of the job run.
|
JobRunSummary |
withState(String state)
The state of the job run.
|
JobRunSummary |
withStateDetails(String stateDetails)
The state details of the job run.
|
JobRunSummary |
withType(String type)
The type of job run, such as Spark or Hive.
|
JobRunSummary |
withUpdatedAt(Date updatedAt)
The date and time when the job run was last 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 JobRunSummary 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 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 JobRunSummary withId(String id)
The ID of the job run.
id
- 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 JobRunSummary 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 ARN of the job run.
arn
- The ARN of the job run.public String getArn()
The ARN of the job run.
public JobRunSummary withArn(String arn)
The ARN of the job run.
arn
- The 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 JobRunSummary 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 JobRunSummary 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 last updated.
updatedAt
- The date and time when the job run was last updated.public Date getUpdatedAt()
The date and time when the job run was last updated.
public JobRunSummary withUpdatedAt(Date updatedAt)
The date and time when the job run was last updated.
updatedAt
- The date and time when the job run was last 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 JobRunSummary 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 JobRunSummary withState(String state)
The state of the job run.
state
- The state of the job run.JobRunState
public JobRunSummary 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 JobRunSummary withStateDetails(String stateDetails)
The state details of the job run.
stateDetails
- The state details of the job run.public void setReleaseLabel(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.public String getReleaseLabel()
The Amazon EMR release associated with the application your job is running on.
public JobRunSummary withReleaseLabel(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.public void setType(String type)
The type of job run, such as Spark or Hive.
type
- The type of job run, such as Spark or Hive.public String getType()
The type of job run, such as Spark or Hive.
public JobRunSummary withType(String type)
The type of job run, such as Spark or Hive.
type
- The type of job run, such as Spark or Hive.public String toString()
toString
in class Object
Object.toString()
public JobRunSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.