@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskSearchSummary extends Object implements Serializable, Cloneable, StructuredPojo
The details of a task search.
Constructor and Description |
---|
TaskSearchSummary() |
Modifier and Type | Method and Description |
---|---|
TaskSearchSummary |
addParametersEntry(String key,
TaskParameterValue value)
Add a single Parameters entry
|
TaskSearchSummary |
clearParametersEntries()
Removes all the entries added into Parameters.
|
TaskSearchSummary |
clone() |
boolean |
equals(Object obj) |
Date |
getEndedAt()
The date and time the resource ended running.
|
Integer |
getFailureRetryCount()
The number of times that the task failed and was retried.
|
String |
getJobId()
The job ID.
|
Map<String,TaskParameterValue> |
getParameters()
The parameters to search for.
|
String |
getQueueId()
The queue ID.
|
String |
getRunStatus()
The run status of the task.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getStepId()
The step ID.
|
String |
getTargetRunStatus()
The run status that the task is being updated to.
|
String |
getTaskId()
The task ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEndedAt(Date endedAt)
The date and time the resource ended running.
|
void |
setFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
|
void |
setJobId(String jobId)
The job ID.
|
void |
setParameters(Map<String,TaskParameterValue> parameters)
The parameters to search for.
|
void |
setQueueId(String queueId)
The queue ID.
|
void |
setRunStatus(String runStatus)
The run status of the task.
|
void |
setStartedAt(Date startedAt)
The date and time the resource started running.
|
void |
setStepId(String stepId)
The step ID.
|
void |
setTargetRunStatus(String targetRunStatus)
The run status that the task is being updated to.
|
void |
setTaskId(String taskId)
The task ID.
|
String |
toString()
Returns a string representation of this object.
|
TaskSearchSummary |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
TaskSearchSummary |
withFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
|
TaskSearchSummary |
withJobId(String jobId)
The job ID.
|
TaskSearchSummary |
withParameters(Map<String,TaskParameterValue> parameters)
The parameters to search for.
|
TaskSearchSummary |
withQueueId(String queueId)
The queue ID.
|
TaskSearchSummary |
withRunStatus(String runStatus)
The run status of the task.
|
TaskSearchSummary |
withRunStatus(TaskRunStatus runStatus)
The run status of the task.
|
TaskSearchSummary |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
TaskSearchSummary |
withStepId(String stepId)
The step ID.
|
TaskSearchSummary |
withTargetRunStatus(String targetRunStatus)
The run status that the task is being updated to.
|
TaskSearchSummary |
withTargetRunStatus(TaskTargetRunStatus targetRunStatus)
The run status that the task is being updated to.
|
TaskSearchSummary |
withTaskId(String taskId)
The task ID.
|
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 TaskSearchSummary withEndedAt(Date endedAt)
The date and time the resource ended running.
endedAt
- The date and time the resource ended running.public void setFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
failureRetryCount
- The number of times that the task failed and was retried.public Integer getFailureRetryCount()
The number of times that the task failed and was retried.
public TaskSearchSummary withFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
failureRetryCount
- The number of times that the task failed and was retried.public void setJobId(String jobId)
The job ID.
jobId
- The job ID.public String getJobId()
The job ID.
public TaskSearchSummary withJobId(String jobId)
The job ID.
jobId
- The job ID.public Map<String,TaskParameterValue> getParameters()
The parameters to search for.
public void setParameters(Map<String,TaskParameterValue> parameters)
The parameters to search for.
parameters
- The parameters to search for.public TaskSearchSummary withParameters(Map<String,TaskParameterValue> parameters)
The parameters to search for.
parameters
- The parameters to search for.public TaskSearchSummary addParametersEntry(String key, TaskParameterValue value)
public TaskSearchSummary clearParametersEntries()
public void setQueueId(String queueId)
The queue ID.
queueId
- The queue ID.public String getQueueId()
The queue ID.
public TaskSearchSummary withQueueId(String queueId)
The queue ID.
queueId
- The queue ID.public void setRunStatus(String runStatus)
The run status of the task.
runStatus
- The run status of the task.TaskRunStatus
public String getRunStatus()
The run status of the task.
TaskRunStatus
public TaskSearchSummary withRunStatus(String runStatus)
The run status of the task.
runStatus
- The run status of the task.TaskRunStatus
public TaskSearchSummary withRunStatus(TaskRunStatus runStatus)
The run status of the task.
runStatus
- The run status of the task.TaskRunStatus
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 TaskSearchSummary withStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public void setStepId(String stepId)
The step ID.
stepId
- The step ID.public String getStepId()
The step ID.
public TaskSearchSummary withStepId(String stepId)
The step ID.
stepId
- The step ID.public void setTargetRunStatus(String targetRunStatus)
The run status that the task is being updated to.
targetRunStatus
- The run status that the task is being updated to.TaskTargetRunStatus
public String getTargetRunStatus()
The run status that the task is being updated to.
TaskTargetRunStatus
public TaskSearchSummary withTargetRunStatus(String targetRunStatus)
The run status that the task is being updated to.
targetRunStatus
- The run status that the task is being updated to.TaskTargetRunStatus
public TaskSearchSummary withTargetRunStatus(TaskTargetRunStatus targetRunStatus)
The run status that the task is being updated to.
targetRunStatus
- The run status that the task is being updated to.TaskTargetRunStatus
public void setTaskId(String taskId)
The task ID.
taskId
- The task ID.public String getTaskId()
The task ID.
public TaskSearchSummary withTaskId(String taskId)
The task ID.
taskId
- The task ID.public String toString()
toString
in class Object
Object.toString()
public TaskSearchSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.