@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 |
getFailureReason()
The reason a task has failed.
|
Integer |
getGpus()
The number of Graphics Processing Units (GPU) specified in the task.
|
String |
getInstanceType()
The instance type for a task.
|
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 |
setFailureReason(String failureReason)
The reason a task has failed.
|
void |
setGpus(Integer gpus)
The number of Graphics Processing Units (GPU) specified in the task.
|
void |
setInstanceType(String instanceType)
The instance type for a task.
|
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 |
withFailureReason(String failureReason)
The reason a task has failed.
|
GetRunTaskResult |
withGpus(Integer gpus)
The number of Graphics Processing Units (GPU) specified in the task.
|
GetRunTaskResult |
withInstanceType(String instanceType)
The instance type for a task.
|
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 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 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 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 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 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 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 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 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 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 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 setGpus(Integer gpus)
The number of Graphics Processing Units (GPU) specified in the task.
gpus
- The number of Graphics Processing Units (GPU) specified in the task.public Integer getGpus()
The number of Graphics Processing Units (GPU) specified in the task.
public GetRunTaskResult withGpus(Integer gpus)
The number of Graphics Processing Units (GPU) specified in the task.
gpus
- The number of Graphics Processing Units (GPU) specified in the task.public void setInstanceType(String instanceType)
The instance type for a task.
instanceType
- The instance type for a task.public String getInstanceType()
The instance type for a task.
public GetRunTaskResult withInstanceType(String instanceType)
The instance type for a task.
instanceType
- The instance type for a task.public void setFailureReason(String failureReason)
The reason a task has failed.
failureReason
- The reason a task has failed.public String getFailureReason()
The reason a task has failed.
public GetRunTaskResult withFailureReason(String failureReason)
The reason a task has failed.
failureReason
- The reason a task has failed.public String toString()
toString
in class Object
Object.toString()
public GetRunTaskResult clone()