public static final class DescribeModelResponse.Worker
extends java.lang.Object
| Constructor and Description |
|---|
Worker() |
| Modifier and Type | Method and Description |
|---|---|
int |
getId()
Returns the worker's ID.
|
java.util.Date |
getStartTime()
Returns the worker's start time.
|
java.lang.String |
getStatus()
Returns the worker's status.
|
boolean |
isGpu()
Return if the worker using GPU.
|
void |
setGpu(boolean gpu)
Sets if the worker using GPU.
|
void |
setId(int id)
Sets the worker's ID.
|
void |
setStartTime(java.util.Date startTime)
Sets the worker's start time.
|
void |
setStatus(java.lang.String status)
Sets the worker's status.
|
public int getId()
public void setId(int id)
id - the workers IDpublic java.util.Date getStartTime()
public void setStartTime(java.util.Date startTime)
startTime - the worker's start timepublic java.lang.String getStatus()
public void setStatus(java.lang.String status)
status - the worker's statuspublic boolean isGpu()
true if the worker using GPUpublic void setGpu(boolean gpu)
gpu - if the worker using GPU