@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WorkerSummary extends Object implements Serializable, Cloneable, StructuredPojo
The summary of details for a worker.
Constructor and Description |
---|
WorkerSummary() |
Modifier and Type | Method and Description |
---|---|
WorkerSummary |
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.
|
String |
getFarmId()
The farm ID.
|
String |
getFleetId()
The fleet ID.
|
HostPropertiesResponse |
getHostProperties()
The host properties of the worker.
|
LogConfiguration |
getLog()
The log configuration for the worker.
|
String |
getStatus()
The status of the worker.
|
Date |
getUpdatedAt()
The date and time the resource was updated.
|
String |
getUpdatedBy()
The user or system that updated this resource.
|
String |
getWorkerId()
The worker ID.
|
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 |
setFarmId(String farmId)
The farm ID.
|
void |
setFleetId(String fleetId)
The fleet ID.
|
void |
setHostProperties(HostPropertiesResponse hostProperties)
The host properties of the worker.
|
void |
setLog(LogConfiguration log)
The log configuration for the worker.
|
void |
setStatus(String status)
The status of the worker.
|
void |
setUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
void |
setUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
void |
setWorkerId(String workerId)
The worker ID.
|
String |
toString()
Returns a string representation of this object.
|
WorkerSummary |
withCreatedAt(Date createdAt)
The date and time the resource was created.
|
WorkerSummary |
withCreatedBy(String createdBy)
The user or system that created this resource.
|
WorkerSummary |
withFarmId(String farmId)
The farm ID.
|
WorkerSummary |
withFleetId(String fleetId)
The fleet ID.
|
WorkerSummary |
withHostProperties(HostPropertiesResponse hostProperties)
The host properties of the worker.
|
WorkerSummary |
withLog(LogConfiguration log)
The log configuration for the worker.
|
WorkerSummary |
withStatus(String status)
The status of the worker.
|
WorkerSummary |
withStatus(WorkerStatus status)
The status of the worker.
|
WorkerSummary |
withUpdatedAt(Date updatedAt)
The date and time the resource was updated.
|
WorkerSummary |
withUpdatedBy(String updatedBy)
The user or system that updated this resource.
|
WorkerSummary |
withWorkerId(String workerId)
The worker ID.
|
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 WorkerSummary 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 WorkerSummary withCreatedBy(String createdBy)
The user or system that created this resource.
createdBy
- The user or system that created this resource.public void setFarmId(String farmId)
The farm ID.
farmId
- The farm ID.public String getFarmId()
The farm ID.
public WorkerSummary withFarmId(String farmId)
The farm ID.
farmId
- The farm ID.public void setFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public String getFleetId()
The fleet ID.
public WorkerSummary withFleetId(String fleetId)
The fleet ID.
fleetId
- The fleet ID.public void setHostProperties(HostPropertiesResponse hostProperties)
The host properties of the worker.
hostProperties
- The host properties of the worker.public HostPropertiesResponse getHostProperties()
The host properties of the worker.
public WorkerSummary withHostProperties(HostPropertiesResponse hostProperties)
The host properties of the worker.
hostProperties
- The host properties of the worker.public void setLog(LogConfiguration log)
The log configuration for the worker.
log
- The log configuration for the worker.public LogConfiguration getLog()
The log configuration for the worker.
public WorkerSummary withLog(LogConfiguration log)
The log configuration for the worker.
log
- The log configuration for the worker.public void setStatus(String status)
The status of the worker.
status
- The status of the worker.WorkerStatus
public String getStatus()
The status of the worker.
WorkerStatus
public WorkerSummary withStatus(String status)
The status of the worker.
status
- The status of the worker.WorkerStatus
public WorkerSummary withStatus(WorkerStatus status)
The status of the worker.
status
- The status of the worker.WorkerStatus
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 WorkerSummary 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 WorkerSummary withUpdatedBy(String updatedBy)
The user or system that updated this resource.
updatedBy
- The user or system that updated this resource.public void setWorkerId(String workerId)
The worker ID.
workerId
- The worker ID.public String getWorkerId()
The worker ID.
public WorkerSummary withWorkerId(String workerId)
The worker ID.
workerId
- The worker ID.public String toString()
toString
in class Object
Object.toString()
public WorkerSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.