@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskSummary extends Object implements Serializable, Cloneable, StructuredPojo
The details of a task.
Constructor and Description |
---|
TaskSummary() |
Modifier and Type | Method and Description |
---|---|
TaskSummary |
addParametersEntry(String key,
TaskParameterValue value)
Add a single Parameters entry
|
TaskSummary |
clearParametersEntries()
Removes all the entries added into Parameters.
|
TaskSummary |
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.
|
Integer |
getFailureRetryCount()
The number of times that the task failed and was retried.
|
String |
getLatestSessionActionId()
The latest session action for the task.
|
Map<String,TaskParameterValue> |
getParameters()
The task parameters.
|
String |
getRunStatus()
The run status of the task.
|
Date |
getStartedAt()
The date and time the resource started running.
|
String |
getTargetRunStatus()
The run status on which the started.
|
String |
getTaskId()
The task ID.
|
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 |
setFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
|
void |
setLatestSessionActionId(String latestSessionActionId)
The latest session action for the task.
|
void |
setParameters(Map<String,TaskParameterValue> parameters)
The task parameters.
|
void |
setRunStatus(String runStatus)
The run status of the task.
|
void |
setStartedAt(Date startedAt)
The date and time the resource started running.
|
void |
setTargetRunStatus(String targetRunStatus)
The run status on which the started.
|
void |
setTaskId(String taskId)
The task ID.
|
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.
|
TaskSummary |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
TaskSummary |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
TaskSummary |
withEndedAt(Date endedAt)
The date and time the resource ended running.
|
TaskSummary |
withFailureRetryCount(Integer failureRetryCount)
The number of times that the task failed and was retried.
|
TaskSummary |
withLatestSessionActionId(String latestSessionActionId)
The latest session action for the task.
|
TaskSummary |
withParameters(Map<String,TaskParameterValue> parameters)
The task parameters.
|
TaskSummary |
withRunStatus(String runStatus)
The run status of the task.
|
TaskSummary |
withRunStatus(TaskRunStatus runStatus)
The run status of the task.
|
TaskSummary |
withStartedAt(Date startedAt)
The date and time the resource started running.
|
TaskSummary |
withTargetRunStatus(String targetRunStatus)
The run status on which the started.
|
TaskSummary |
withTargetRunStatus(TaskTargetRunStatus targetRunStatus)
The run status on which the started.
|
TaskSummary |
withTaskId(String taskId)
The task ID.
|
TaskSummary |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
TaskSummary |
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 TaskSummary 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 TaskSummary 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 TaskSummary 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 TaskSummary 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 setLatestSessionActionId(String latestSessionActionId)
The latest session action for the task.
latestSessionActionId
- The latest session action for the task.public String getLatestSessionActionId()
The latest session action for the task.
public TaskSummary withLatestSessionActionId(String latestSessionActionId)
The latest session action for the task.
latestSessionActionId
- The latest session action for the task.public Map<String,TaskParameterValue> getParameters()
The task parameters.
public void setParameters(Map<String,TaskParameterValue> parameters)
The task parameters.
parameters
- The task parameters.public TaskSummary withParameters(Map<String,TaskParameterValue> parameters)
The task parameters.
parameters
- The task parameters.public TaskSummary addParametersEntry(String key, TaskParameterValue value)
public TaskSummary clearParametersEntries()
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 TaskSummary withRunStatus(String runStatus)
The run status of the task.
runStatus
- The run status of the task.TaskRunStatus
public TaskSummary 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 TaskSummary withStartedAt(Date startedAt)
The date and time the resource started running.
startedAt
- The date and time the resource started running.public void setTargetRunStatus(String targetRunStatus)
The run status on which the started.
targetRunStatus
- The run status on which the started.TaskTargetRunStatus
public String getTargetRunStatus()
The run status on which the started.
TaskTargetRunStatus
public TaskSummary withTargetRunStatus(String targetRunStatus)
The run status on which the started.
targetRunStatus
- The run status on which the started.TaskTargetRunStatus
public TaskSummary withTargetRunStatus(TaskTargetRunStatus targetRunStatus)
The run status on which the started.
targetRunStatus
- The run status on which the started.TaskTargetRunStatus
public void setTaskId(String taskId)
The task ID.
taskId
- The task ID.public String getTaskId()
The task ID.
public TaskSummary withTaskId(String taskId)
The task ID.
taskId
- The task ID.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 TaskSummary 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 TaskSummary 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 TaskSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.