@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of job details.
Constructor and Description |
---|
JobSummary() |
Modifier and Type | Method and Description |
---|---|
JobSummary |
addTaskRunStatusCountsEntry(String key,
Integer value)
Add a single TaskRunStatusCounts entry
|
JobSummary |
clearTaskRunStatusCountsEntries()
Removes all the entries added into TaskRunStatusCounts.
|
JobSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedAt()
The date and time the resource was created.
|
String |
getCreatedBy()
The user or system that created this resource.
|
Date |
getEndedAt()
The date and time the resource ended running.
|
String |
getJobId()
The job ID.
|
String |
getLifecycleStatus()
The life cycle status.
|
String |
getLifecycleStatusMessage()
The life cycle status message.
|
Integer |
getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as
FAILED . |
Integer |
getMaxRetriesPerTask()
The maximum number of retries for a job.
|
String |
getName()
The job name.
|
Integer |
getPriority()
The job priority.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getTargetTaskRunStatus()
The task status to start with on the job.
|
String |
getTaskRunStatus()
The task run status for the job.
|
Map<String,Integer> |
getTaskRunStatusCounts()
The number of tasks running on the job.
|
Date |
getUpdatedAt()
The date and time the resource was updated.
|
String |
getUpdatedBy()
The user or system that updated this resource.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedAt(Date createdAt)
The date and time the resource was created.
|
void |
setCreatedBy(String createdBy)
The user or system that created this resource.
|
void |
setEndedAt(Date endedAt)
The date and time the resource ended running.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setLifecycleStatus(String lifecycleStatus)
The life cycle status.
|
void |
setLifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
|
void |
setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
void |
setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
|
void |
setName(String name)
The job name.
|
void |
setPriority(Integer priority)
The job priority.
|
void |
setStartedAt(Date startedAt)
The date and time the resource started running.
|
void |
setTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
|
void |
setTaskRunStatus(String taskRunStatus)
The task run status for the job.
|
void |
setTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
String |
toString()
Returns a string representation of this object.
|
JobSummary |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
JobSummary |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
JobSummary |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
JobSummary |
withJobId(String jobId)
The job ID.
|
JobSummary |
withLifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status.
|
JobSummary |
withLifecycleStatus(String lifecycleStatus)
The life cycle status.
|
JobSummary |
withLifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
|
JobSummary |
withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
JobSummary |
withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
|
JobSummary |
withName(String name)
The job name.
|
JobSummary |
withPriority(Integer priority)
The job priority.
|
JobSummary |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
JobSummary |
withTargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status to start with on the job.
|
JobSummary |
withTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
|
JobSummary |
withTaskRunStatus(String taskRunStatus)
The task run status for the job.
|
JobSummary |
withTaskRunStatus(TaskRunStatus taskRunStatus)
The task run status for the job.
|
JobSummary |
withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
JobSummary |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
JobSummary |
withUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
public void setCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public Date getCreatedAt()
The date and time the resource was created.
public JobSummary withCreatedAt(Date createdAt)
The date and time the resource was created.
createdAt
- The date and time the resource was created.public void setCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public String getCreatedBy()
The user or system that created this resource.
public JobSummary withCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public void setEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public Date getEndedAt()
The date and time the resource ended running.
public JobSummary withEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public JobSummary withJobId(String jobId)
The job ID.
jobId
- The job ID.public void setLifecycleStatus(String lifecycleStatus)
The life cycle status.
lifecycleStatus
- The life cycle status.JobLifecycleStatus
public String getLifecycleStatus()
The life cycle status.
JobLifecycleStatus
public JobSummary withLifecycleStatus(String lifecycleStatus)
The life cycle status.
lifecycleStatus
- The life cycle status.JobLifecycleStatus
public JobSummary withLifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status.
lifecycleStatus
- The life cycle status.JobLifecycleStatus
public void setLifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
lifecycleStatusMessage
- The life cycle status message.public String getLifecycleStatusMessage()
The life cycle status message.
public JobSummary withLifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
lifecycleStatusMessage
- The life cycle status message.public void setMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public Integer getMaxFailedTasksCount()
The number of task failures before the job stops running and is marked as FAILED
.
FAILED
.public JobSummary withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as FAILED
.
maxFailedTasksCount
- The number of task failures before the job stops running and is marked as FAILED
.public void setMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
maxRetriesPerTask
- The maximum number of retries for a job.public Integer getMaxRetriesPerTask()
The maximum number of retries for a job.
public JobSummary withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
maxRetriesPerTask
- The maximum number of retries for a job.public void setName(String name)
The job name.
name
- The job name.public String getName()
The job name.
public JobSummary withName(String name)
The job name.
name
- The job name.public void setPriority(Integer priority)
The job priority.
priority
- The job priority.public Integer getPriority()
The job priority.
public JobSummary withPriority(Integer priority)
The job priority.
priority
- The job priority.public void setStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public Date getStartedAt()
The date and time the resource started running.
public JobSummary withStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public void setTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
targetTaskRunStatus
- The task status to start with on the job.JobTargetTaskRunStatus
public String getTargetTaskRunStatus()
The task status to start with on the job.
JobTargetTaskRunStatus
public JobSummary withTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
targetTaskRunStatus
- The task status to start with on the job.JobTargetTaskRunStatus
public JobSummary withTargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status to start with on the job.
targetTaskRunStatus
- The task status to start with on the job.JobTargetTaskRunStatus
public void setTaskRunStatus(String taskRunStatus)
The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
taskRunStatus
- The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
TaskRunStatus
public String getTaskRunStatus()
The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
TaskRunStatus
public JobSummary withTaskRunStatus(String taskRunStatus)
The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
taskRunStatus
- The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
TaskRunStatus
public JobSummary withTaskRunStatus(TaskRunStatus taskRunStatus)
The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
taskRunStatus
- The task run status for the job.
PENDING
–pending and waiting for resources.
READY
–ready to be processed.
ASSIGNED
–assigned and will run next on a worker.
SCHEDULED
–scheduled to be run on a worker.
INTERRUPTING
–being interrupted.
RUNNING
–running on a worker.
SUSPENDED
–the task is suspended.
CANCELED
–the task has been canceled.
FAILED
–the task has failed.
SUCCEEDED
–the task has succeeded.
TaskRunStatus
public Map<String,Integer> getTaskRunStatusCounts()
The number of tasks running on the job.
public void setTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
taskRunStatusCounts
- The number of tasks running on the job.public JobSummary withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
taskRunStatusCounts
- The number of tasks running on the job.public JobSummary addTaskRunStatusCountsEntry(String key, Integer value)
public JobSummary clearTaskRunStatusCountsEntries()
public void setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public Date getUpdatedAt()
The date and time the resource was updated.
public JobSummary withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
updatedAt
- The date and time the resource was updated.public void setUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String getUpdatedBy()
The user or system that updated this resource.
public JobSummary withUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public String toString()
toString
in class Object
Object.toString()
public JobSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.