@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class JobSearchSummary extends Object implements Serializable, Cloneable, StructuredPojo
The details of a job search.
Constructor and Description |
---|
JobSearchSummary() |
Modifier and Type | Method and Description |
---|---|
JobSearchSummary |
addJobParametersEntry(String key,
JobParameter value)
Add a single JobParameters entry
|
JobSearchSummary |
addTaskRunStatusCountsEntry(String key,
Integer value)
Add a single TaskRunStatusCounts entry
|
JobSearchSummary |
clearJobParametersEntries()
Removes all the entries added into JobParameters.
|
JobSearchSummary |
clearTaskRunStatusCountsEntries()
Removes all the entries added into TaskRunStatusCounts.
|
JobSearchSummary |
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.
|
Map<String,JobParameter> |
getJobParameters()
The job parameters.
|
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.
|
String |
getQueueId()
The queue ID.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getTargetTaskRunStatus()
The task status to start with on the job.
|
String |
getTaskRunStatus()
task run status for the job.
|
Map<String,Integer> |
getTaskRunStatusCounts()
The number of tasks running on the job.
|
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 |
setJobParameters(Map<String,JobParameter> jobParameters)
The job parameters.
|
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 |
setQueueId(String queueId)
The queue ID.
|
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)
task run status for the job.
|
void |
setTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
String |
toString()
Returns a string representation of this object.
|
JobSearchSummary |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
JobSearchSummary |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
JobSearchSummary |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
JobSearchSummary |
withJobId(String jobId)
The job ID.
|
JobSearchSummary |
withJobParameters(Map<String,JobParameter> jobParameters)
The job parameters.
|
JobSearchSummary |
withLifecycleStatus(JobLifecycleStatus lifecycleStatus)
The life cycle status.
|
JobSearchSummary |
withLifecycleStatus(String lifecycleStatus)
The life cycle status.
|
JobSearchSummary |
withLifecycleStatusMessage(String lifecycleStatusMessage)
The life cycle status message.
|
JobSearchSummary |
withMaxFailedTasksCount(Integer maxFailedTasksCount)
The number of task failures before the job stops running and is marked as
FAILED . |
JobSearchSummary |
withMaxRetriesPerTask(Integer maxRetriesPerTask)
The maximum number of retries for a job.
|
JobSearchSummary |
withName(String name)
The job name.
|
JobSearchSummary |
withPriority(Integer priority)
The job priority.
|
JobSearchSummary |
withQueueId(String queueId)
The queue ID.
|
JobSearchSummary |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
JobSearchSummary |
withTargetTaskRunStatus(JobTargetTaskRunStatus targetTaskRunStatus)
The task status to start with on the job.
|
JobSearchSummary |
withTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
|
JobSearchSummary |
withTaskRunStatus(String taskRunStatus)
task run status for the job.
|
JobSearchSummary |
withTaskRunStatus(TaskRunStatus taskRunStatus)
task run status for the job.
|
JobSearchSummary |
withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
|
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 JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary withJobId(String jobId)
The job ID.
jobId
- The job ID.public Map<String,JobParameter> getJobParameters()
The job parameters.
public void setJobParameters(Map<String,JobParameter> jobParameters)
The job parameters.
jobParameters
- The job parameters.public JobSearchSummary withJobParameters(Map<String,JobParameter> jobParameters)
The job parameters.
jobParameters
- The job parameters.public JobSearchSummary addJobParametersEntry(String key, JobParameter value)
public JobSearchSummary clearJobParametersEntries()
public void setLifecycleStatus(String lifecycleStatus)
The life cycle status.
lifecycleStatus
- The life cycle status.JobLifecycleStatus
public String getLifecycleStatus()
The life cycle status.
JobLifecycleStatus
public JobSearchSummary withLifecycleStatus(String lifecycleStatus)
The life cycle status.
lifecycleStatus
- The life cycle status.JobLifecycleStatus
public JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary 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 JobSearchSummary withPriority(Integer priority)
The job priority.
priority
- The job priority.public void setQueueId(String queueId)
The queue ID.
queueId
- The queue ID.public String getQueueId()
The queue ID.
public JobSearchSummary withQueueId(String queueId)
The queue ID.
queueId
- The queue ID.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 JobSearchSummary 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 JobSearchSummary withTargetTaskRunStatus(String targetTaskRunStatus)
The task status to start with on the job.
targetTaskRunStatus
- The task status to start with on the job.JobTargetTaskRunStatus
public JobSearchSummary 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)
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
- 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()
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 JobSearchSummary withTaskRunStatus(String taskRunStatus)
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
- 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 JobSearchSummary withTaskRunStatus(TaskRunStatus taskRunStatus)
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
- 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 JobSearchSummary withTaskRunStatusCounts(Map<String,Integer> taskRunStatusCounts)
The number of tasks running on the job.
taskRunStatusCounts
- The number of tasks running on the job.public JobSearchSummary addTaskRunStatusCountsEntry(String key, Integer value)
public JobSearchSummary clearTaskRunStatusCountsEntries()
public String toString()
toString
in class Object
Object.toString()
public JobSearchSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.