@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CoreDevice extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a Greengrass core device, which is an IoT thing that runs the IoT Greengrass Core software.
| Constructor and Description |
|---|
CoreDevice() |
| Modifier and Type | Method and Description |
|---|---|
CoreDevice |
clone() |
boolean |
equals(Object obj) |
String |
getCoreDeviceThingName()
The name of the core device.
|
Date |
getLastStatusUpdateTimestamp()
The time at which the core device's status last updated, expressed in ISO 8601 format.
|
String |
getStatus()
The status of the core device.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCoreDeviceThingName(String coreDeviceThingName)
The name of the core device.
|
void |
setLastStatusUpdateTimestamp(Date lastStatusUpdateTimestamp)
The time at which the core device's status last updated, expressed in ISO 8601 format.
|
void |
setStatus(String status)
The status of the core device.
|
String |
toString()
Returns a string representation of this object.
|
CoreDevice |
withCoreDeviceThingName(String coreDeviceThingName)
The name of the core device.
|
CoreDevice |
withLastStatusUpdateTimestamp(Date lastStatusUpdateTimestamp)
The time at which the core device's status last updated, expressed in ISO 8601 format.
|
CoreDevice |
withStatus(CoreDeviceStatus status)
The status of the core device.
|
CoreDevice |
withStatus(String status)
The status of the core device.
|
public void setCoreDeviceThingName(String coreDeviceThingName)
The name of the core device. This is also the name of the IoT thing.
coreDeviceThingName - The name of the core device. This is also the name of the IoT thing.public String getCoreDeviceThingName()
The name of the core device. This is also the name of the IoT thing.
public CoreDevice withCoreDeviceThingName(String coreDeviceThingName)
The name of the core device. This is also the name of the IoT thing.
coreDeviceThingName - The name of the core device. This is also the name of the IoT thing.public void setStatus(String status)
The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
status - The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic String getStatus()
The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic CoreDevice withStatus(String status)
The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
status - The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic CoreDevice withStatus(CoreDeviceStatus status)
The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core device.
status - The status of the core device. Core devices can have the following statuses:
HEALTHY – The IoT Greengrass Core software and all components run on the core device without
issue.
UNHEALTHY – The IoT Greengrass Core software or a component is in a failed state on the core
device.
CoreDeviceStatuspublic void setLastStatusUpdateTimestamp(Date lastStatusUpdateTimestamp)
The time at which the core device's status last updated, expressed in ISO 8601 format.
lastStatusUpdateTimestamp - The time at which the core device's status last updated, expressed in ISO 8601 format.public Date getLastStatusUpdateTimestamp()
The time at which the core device's status last updated, expressed in ISO 8601 format.
public CoreDevice withLastStatusUpdateTimestamp(Date lastStatusUpdateTimestamp)
The time at which the core device's status last updated, expressed in ISO 8601 format.
lastStatusUpdateTimestamp - The time at which the core device's status last updated, expressed in ISO 8601 format.public String toString()
toString in class ObjectObject.toString()public CoreDevice clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.