@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TaskListItem extends Object implements Serializable, Cloneable, StructuredPojo
A workflow run task.
Constructor and Description |
---|
TaskListItem() |
Modifier and Type | Method and Description |
---|---|
TaskListItem |
clone() |
boolean |
equals(Object obj) |
Integer |
getCpus()
The task's CPU count.
|
Date |
getCreationTime()
When the task was created.
|
Integer |
getMemory()
The task's memory use in gigabyes.
|
String |
getName()
The task's name.
|
Date |
getStartTime()
When the task started.
|
String |
getStatus()
The task's status.
|
Date |
getStopTime()
When the task stopped.
|
String |
getTaskId()
The task's ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCpus(Integer cpus)
The task's CPU count.
|
void |
setCreationTime(Date creationTime)
When the task was created.
|
void |
setMemory(Integer memory)
The task's memory use in gigabyes.
|
void |
setName(String name)
The task's name.
|
void |
setStartTime(Date startTime)
When the task started.
|
void |
setStatus(String status)
The task's status.
|
void |
setStopTime(Date stopTime)
When the task stopped.
|
void |
setTaskId(String taskId)
The task's ID.
|
String |
toString()
Returns a string representation of this object.
|
TaskListItem |
withCpus(Integer cpus)
The task's CPU count.
|
TaskListItem |
withCreationTime(Date creationTime)
When the task was created.
|
TaskListItem |
withMemory(Integer memory)
The task's memory use in gigabyes.
|
TaskListItem |
withName(String name)
The task's name.
|
TaskListItem |
withStartTime(Date startTime)
When the task started.
|
TaskListItem |
withStatus(String status)
The task's status.
|
TaskListItem |
withStatus(TaskStatus status)
The task's status.
|
TaskListItem |
withStopTime(Date stopTime)
When the task stopped.
|
TaskListItem |
withTaskId(String taskId)
The task's ID.
|
public void setCpus(Integer cpus)
The task's CPU count.
cpus
- The task's CPU count.public Integer getCpus()
The task's CPU count.
public TaskListItem withCpus(Integer cpus)
The task's CPU count.
cpus
- The task's CPU count.public void setCreationTime(Date creationTime)
When the task was created.
creationTime
- When the task was created.public Date getCreationTime()
When the task was created.
public TaskListItem withCreationTime(Date creationTime)
When the task was created.
creationTime
- When the task was created.public void setMemory(Integer memory)
The task's memory use in gigabyes.
memory
- The task's memory use in gigabyes.public Integer getMemory()
The task's memory use in gigabyes.
public TaskListItem withMemory(Integer memory)
The task's memory use in gigabyes.
memory
- The task's memory use in gigabyes.public void setName(String name)
The task's name.
name
- The task's name.public String getName()
The task's name.
public TaskListItem withName(String name)
The task's name.
name
- The task's name.public void setStartTime(Date startTime)
When the task started.
startTime
- When the task started.public Date getStartTime()
When the task started.
public TaskListItem withStartTime(Date startTime)
When the task started.
startTime
- When the task started.public void setStatus(String status)
The task's status.
status
- The task's status.TaskStatus
public String getStatus()
The task's status.
TaskStatus
public TaskListItem withStatus(String status)
The task's status.
status
- The task's status.TaskStatus
public TaskListItem withStatus(TaskStatus status)
The task's status.
status
- The task's status.TaskStatus
public void setStopTime(Date stopTime)
When the task stopped.
stopTime
- When the task stopped.public Date getStopTime()
When the task stopped.
public TaskListItem withStopTime(Date stopTime)
When the task stopped.
stopTime
- When the task stopped.public void setTaskId(String taskId)
The task's ID.
taskId
- The task's ID.public String getTaskId()
The task's ID.
public TaskListItem withTaskId(String taskId)
The task's ID.
taskId
- The task's ID.public String toString()
toString
in class Object
Object.toString()
public TaskListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.