@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetRunTaskResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetRunTaskResult() |
Modifier and Type | Method and Description |
---|---|
GetRunTaskResult |
clone() |
boolean |
equals(Object obj) |
Integer |
getCpus()
The task's CPU usage.
|
Date |
getCreationTime()
When the task was created.
|
String |
getLogStream()
The task's log stream.
|
Integer |
getMemory()
The task's memory use in gigabytes.
|
String |
getName()
The task's name.
|
Date |
getStartTime()
The task's start time.
|
String |
getStatus()
The task's status.
|
String |
getStatusMessage()
The task's status message.
|
Date |
getStopTime()
The task's stop time.
|
String |
getTaskId()
The task's ID.
|
int |
hashCode() |
void |
setCpus(Integer cpus)
The task's CPU usage.
|
void |
setCreationTime(Date creationTime)
When the task was created.
|
void |
setLogStream(String logStream)
The task's log stream.
|
void |
setMemory(Integer memory)
The task's memory use in gigabytes.
|
void |
setName(String name)
The task's name.
|
void |
setStartTime(Date startTime)
The task's start time.
|
void |
setStatus(String status)
The task's status.
|
void |
setStatusMessage(String statusMessage)
The task's status message.
|
void |
setStopTime(Date stopTime)
The task's stop time.
|
void |
setTaskId(String taskId)
The task's ID.
|
String |
toString()
Returns a string representation of this object.
|
GetRunTaskResult |
withCpus(Integer cpus)
The task's CPU usage.
|
GetRunTaskResult |
withCreationTime(Date creationTime)
When the task was created.
|
GetRunTaskResult |
withLogStream(String logStream)
The task's log stream.
|
GetRunTaskResult |
withMemory(Integer memory)
The task's memory use in gigabytes.
|
GetRunTaskResult |
withName(String name)
The task's name.
|
GetRunTaskResult |
withStartTime(Date startTime)
The task's start time.
|
GetRunTaskResult |
withStatus(String status)
The task's status.
|
GetRunTaskResult |
withStatus(TaskStatus status)
The task's status.
|
GetRunTaskResult |
withStatusMessage(String statusMessage)
The task's status message.
|
GetRunTaskResult |
withStopTime(Date stopTime)
The task's stop time.
|
GetRunTaskResult |
withTaskId(String taskId)
The task's ID.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setCpus(Integer cpus)
The task's CPU usage.
cpus
- The task's CPU usage.public Integer getCpus()
The task's CPU usage.
public GetRunTaskResult withCpus(Integer cpus)
The task's CPU usage.
cpus
- The task's CPU usage.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 GetRunTaskResult withCreationTime(Date creationTime)
When the task was created.
creationTime
- When the task was created.public void setLogStream(String logStream)
The task's log stream.
logStream
- The task's log stream.public String getLogStream()
The task's log stream.
public GetRunTaskResult withLogStream(String logStream)
The task's log stream.
logStream
- The task's log stream.public void setMemory(Integer memory)
The task's memory use in gigabytes.
memory
- The task's memory use in gigabytes.public Integer getMemory()
The task's memory use in gigabytes.
public GetRunTaskResult withMemory(Integer memory)
The task's memory use in gigabytes.
memory
- The task's memory use in gigabytes.public void setName(String name)
The task's name.
name
- The task's name.public String getName()
The task's name.
public GetRunTaskResult withName(String name)
The task's name.
name
- The task's name.public void setStartTime(Date startTime)
The task's start time.
startTime
- The task's start time.public Date getStartTime()
The task's start time.
public GetRunTaskResult withStartTime(Date startTime)
The task's start time.
startTime
- The task's start time.public void setStatus(String status)
The task's status.
status
- The task's status.TaskStatus
public String getStatus()
The task's status.
TaskStatus
public GetRunTaskResult withStatus(String status)
The task's status.
status
- The task's status.TaskStatus
public GetRunTaskResult withStatus(TaskStatus status)
The task's status.
status
- The task's status.TaskStatus
public void setStatusMessage(String statusMessage)
The task's status message.
statusMessage
- The task's status message.public String getStatusMessage()
The task's status message.
public GetRunTaskResult withStatusMessage(String statusMessage)
The task's status message.
statusMessage
- The task's status message.public void setStopTime(Date stopTime)
The task's stop time.
stopTime
- The task's stop time.public Date getStopTime()
The task's stop time.
public GetRunTaskResult withStopTime(Date stopTime)
The task's stop time.
stopTime
- The task's stop time.public void setTaskId(String taskId)
The task's ID.
taskId
- The task's ID.public String getTaskId()
The task's ID.
public GetRunTaskResult withTaskId(String taskId)
The task's ID.
taskId
- The task's ID.public String toString()
toString
in class Object
Object.toString()
public GetRunTaskResult clone()