@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobRun extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a job run.
Constructor and Description |
---|
JobRun() |
Modifier and Type | Method and Description |
---|---|
JobRun |
addArgumentsEntry(String key,
String value) |
JobRun |
clearArgumentsEntries()
Removes all the entries added into Arguments.
|
JobRun |
clone() |
boolean |
equals(Object obj) |
Integer |
getAllocatedCapacity()
The amount of infrastructure capacity allocated to this job run.
|
Map<String,String> |
getArguments()
The job arguments associated with this run.
|
Integer |
getAttempt()
The number or the attempt to run this job.
|
Date |
getCompletedOn()
The date and time this job run completed.
|
String |
getErrorMessage()
An error message associated with this job run.
|
String |
getId()
The ID of this job run.
|
String |
getJobName()
The name of the job being run.
|
String |
getJobRunState()
The current state of the job run.
|
Date |
getLastModifiedOn()
The last time this job run was modified.
|
List<Predecessor> |
getPredecessorRuns()
A list of predecessors to this job run.
|
String |
getPreviousRunId()
The ID of the previous run of this job.
|
Date |
getStartedOn()
The date and time at which this job run was started.
|
String |
getTriggerName()
The name of the trigger for this job run.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
|
void |
setArguments(Map<String,String> arguments)
The job arguments associated with this run.
|
void |
setAttempt(Integer attempt)
The number or the attempt to run this job.
|
void |
setCompletedOn(Date completedOn)
The date and time this job run completed.
|
void |
setErrorMessage(String errorMessage)
An error message associated with this job run.
|
void |
setId(String id)
The ID of this job run.
|
void |
setJobName(String jobName)
The name of the job being run.
|
void |
setJobRunState(String jobRunState)
The current state of the job run.
|
void |
setLastModifiedOn(Date lastModifiedOn)
The last time this job run was modified.
|
void |
setPredecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
|
void |
setPreviousRunId(String previousRunId)
The ID of the previous run of this job.
|
void |
setStartedOn(Date startedOn)
The date and time at which this job run was started.
|
void |
setTriggerName(String triggerName)
The name of the trigger for this job run.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
JobRun |
withAllocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
|
JobRun |
withArguments(Map<String,String> arguments)
The job arguments associated with this run.
|
JobRun |
withAttempt(Integer attempt)
The number or the attempt to run this job.
|
JobRun |
withCompletedOn(Date completedOn)
The date and time this job run completed.
|
JobRun |
withErrorMessage(String errorMessage)
An error message associated with this job run.
|
JobRun |
withId(String id)
The ID of this job run.
|
JobRun |
withJobName(String jobName)
The name of the job being run.
|
JobRun |
withJobRunState(JobRunState jobRunState)
The current state of the job run.
|
JobRun |
withJobRunState(String jobRunState)
The current state of the job run.
|
JobRun |
withLastModifiedOn(Date lastModifiedOn)
The last time this job run was modified.
|
JobRun |
withPredecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
|
JobRun |
withPredecessorRuns(Predecessor... predecessorRuns)
A list of predecessors to this job run.
|
JobRun |
withPreviousRunId(String previousRunId)
The ID of the previous run of this job.
|
JobRun |
withStartedOn(Date startedOn)
The date and time at which this job run was started.
|
JobRun |
withTriggerName(String triggerName)
The name of the trigger for this job run.
|
public void setId(String id)
The ID of this job run.
id
- The ID of this job run.public String getId()
The ID of this job run.
public JobRun withId(String id)
The ID of this job run.
id
- The ID of this job run.public void setAttempt(Integer attempt)
The number or the attempt to run this job.
attempt
- The number or the attempt to run this job.public Integer getAttempt()
The number or the attempt to run this job.
public JobRun withAttempt(Integer attempt)
The number or the attempt to run this job.
attempt
- The number or the attempt to run this job.public void setPreviousRunId(String previousRunId)
The ID of the previous run of this job.
previousRunId
- The ID of the previous run of this job.public String getPreviousRunId()
The ID of the previous run of this job.
public JobRun withPreviousRunId(String previousRunId)
The ID of the previous run of this job.
previousRunId
- The ID of the previous run of this job.public void setTriggerName(String triggerName)
The name of the trigger for this job run.
triggerName
- The name of the trigger for this job run.public String getTriggerName()
The name of the trigger for this job run.
public JobRun withTriggerName(String triggerName)
The name of the trigger for this job run.
triggerName
- The name of the trigger for this job run.public void setJobName(String jobName)
The name of the job being run.
jobName
- The name of the job being run.public String getJobName()
The name of the job being run.
public JobRun withJobName(String jobName)
The name of the job being run.
jobName
- The name of the job being run.public void setStartedOn(Date startedOn)
The date and time at which this job run was started.
startedOn
- The date and time at which this job run was started.public Date getStartedOn()
The date and time at which this job run was started.
public JobRun withStartedOn(Date startedOn)
The date and time at which this job run was started.
startedOn
- The date and time at which this job run was started.public void setLastModifiedOn(Date lastModifiedOn)
The last time this job run was modified.
lastModifiedOn
- The last time this job run was modified.public Date getLastModifiedOn()
The last time this job run was modified.
public JobRun withLastModifiedOn(Date lastModifiedOn)
The last time this job run was modified.
lastModifiedOn
- The last time this job run was modified.public void setCompletedOn(Date completedOn)
The date and time this job run completed.
completedOn
- The date and time this job run completed.public Date getCompletedOn()
The date and time this job run completed.
public JobRun withCompletedOn(Date completedOn)
The date and time this job run completed.
completedOn
- The date and time this job run completed.public void setJobRunState(String jobRunState)
The current state of the job run.
jobRunState
- The current state of the job run.JobRunState
public String getJobRunState()
The current state of the job run.
JobRunState
public JobRun withJobRunState(String jobRunState)
The current state of the job run.
jobRunState
- The current state of the job run.JobRunState
public JobRun withJobRunState(JobRunState jobRunState)
The current state of the job run.
jobRunState
- The current state of the job run.JobRunState
public Map<String,String> getArguments()
The job arguments associated with this run.
public void setArguments(Map<String,String> arguments)
The job arguments associated with this run.
arguments
- The job arguments associated with this run.public JobRun withArguments(Map<String,String> arguments)
The job arguments associated with this run.
arguments
- The job arguments associated with this run.public JobRun clearArgumentsEntries()
public void setErrorMessage(String errorMessage)
An error message associated with this job run.
errorMessage
- An error message associated with this job run.public String getErrorMessage()
An error message associated with this job run.
public JobRun withErrorMessage(String errorMessage)
An error message associated with this job run.
errorMessage
- An error message associated with this job run.public List<Predecessor> getPredecessorRuns()
A list of predecessors to this job run.
public void setPredecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
predecessorRuns
- A list of predecessors to this job run.public JobRun withPredecessorRuns(Predecessor... predecessorRuns)
A list of predecessors to this job run.
NOTE: This method appends the values to the existing list (if any). Use
setPredecessorRuns(java.util.Collection)
or withPredecessorRuns(java.util.Collection)
if you
want to override the existing values.
predecessorRuns
- A list of predecessors to this job run.public JobRun withPredecessorRuns(Collection<Predecessor> predecessorRuns)
A list of predecessors to this job run.
predecessorRuns
- A list of predecessors to this job run.public void setAllocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
allocatedCapacity
- The amount of infrastructure capacity allocated to this job run.public Integer getAllocatedCapacity()
The amount of infrastructure capacity allocated to this job run.
public JobRun withAllocatedCapacity(Integer allocatedCapacity)
The amount of infrastructure capacity allocated to this job run.
allocatedCapacity
- The amount of infrastructure capacity allocated to this job run.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.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.