@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeDeviceResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeDeviceResult() |
Modifier and Type | Method and Description |
---|---|
DescribeDeviceResult |
clone() |
boolean |
equals(Object obj) |
String |
getAgentVersion()
Edge Manager agent version.
|
String |
getDescription()
A description of the device.
|
String |
getDeviceArn()
The Amazon Resource Name (ARN) of the device.
|
String |
getDeviceFleetName()
The name of the fleet the device belongs to.
|
String |
getDeviceName()
The unique identifier of the device.
|
String |
getIotThingName()
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
|
Date |
getLatestHeartbeat()
The last heartbeat received from the device.
|
Integer |
getMaxModels()
The maximum number of models.
|
List<EdgeModel> |
getModels()
Models on the device.
|
String |
getNextToken()
The response from the last list when returning a list large enough to need tokening.
|
Date |
getRegistrationTime()
The timestamp of the last registration or de-reregistration.
|
int |
hashCode() |
void |
setAgentVersion(String agentVersion)
Edge Manager agent version.
|
void |
setDescription(String description)
A description of the device.
|
void |
setDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
void |
setDeviceFleetName(String deviceFleetName)
The name of the fleet the device belongs to.
|
void |
setDeviceName(String deviceName)
The unique identifier of the device.
|
void |
setIotThingName(String iotThingName)
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
|
void |
setLatestHeartbeat(Date latestHeartbeat)
The last heartbeat received from the device.
|
void |
setMaxModels(Integer maxModels)
The maximum number of models.
|
void |
setModels(Collection<EdgeModel> models)
Models on the device.
|
void |
setNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
|
void |
setRegistrationTime(Date registrationTime)
The timestamp of the last registration or de-reregistration.
|
String |
toString()
Returns a string representation of this object.
|
DescribeDeviceResult |
withAgentVersion(String agentVersion)
Edge Manager agent version.
|
DescribeDeviceResult |
withDescription(String description)
A description of the device.
|
DescribeDeviceResult |
withDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
|
DescribeDeviceResult |
withDeviceFleetName(String deviceFleetName)
The name of the fleet the device belongs to.
|
DescribeDeviceResult |
withDeviceName(String deviceName)
The unique identifier of the device.
|
DescribeDeviceResult |
withIotThingName(String iotThingName)
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
|
DescribeDeviceResult |
withLatestHeartbeat(Date latestHeartbeat)
The last heartbeat received from the device.
|
DescribeDeviceResult |
withMaxModels(Integer maxModels)
The maximum number of models.
|
DescribeDeviceResult |
withModels(Collection<EdgeModel> models)
Models on the device.
|
DescribeDeviceResult |
withModels(EdgeModel... models)
Models on the device.
|
DescribeDeviceResult |
withNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
|
DescribeDeviceResult |
withRegistrationTime(Date registrationTime)
The timestamp of the last registration or de-reregistration.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn
- The Amazon Resource Name (ARN) of the device.public String getDeviceArn()
The Amazon Resource Name (ARN) of the device.
public DescribeDeviceResult withDeviceArn(String deviceArn)
The Amazon Resource Name (ARN) of the device.
deviceArn
- The Amazon Resource Name (ARN) of the device.public void setDeviceName(String deviceName)
The unique identifier of the device.
deviceName
- The unique identifier of the device.public String getDeviceName()
The unique identifier of the device.
public DescribeDeviceResult withDeviceName(String deviceName)
The unique identifier of the device.
deviceName
- The unique identifier of the device.public void setDescription(String description)
A description of the device.
description
- A description of the device.public String getDescription()
A description of the device.
public DescribeDeviceResult withDescription(String description)
A description of the device.
description
- A description of the device.public void setDeviceFleetName(String deviceFleetName)
The name of the fleet the device belongs to.
deviceFleetName
- The name of the fleet the device belongs to.public String getDeviceFleetName()
The name of the fleet the device belongs to.
public DescribeDeviceResult withDeviceFleetName(String deviceFleetName)
The name of the fleet the device belongs to.
deviceFleetName
- The name of the fleet the device belongs to.public void setIotThingName(String iotThingName)
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
iotThingName
- The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.public String getIotThingName()
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
public DescribeDeviceResult withIotThingName(String iotThingName)
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.
iotThingName
- The Amazon Web Services Internet of Things (IoT) object thing name associated with the device.public void setRegistrationTime(Date registrationTime)
The timestamp of the last registration or de-reregistration.
registrationTime
- The timestamp of the last registration or de-reregistration.public Date getRegistrationTime()
The timestamp of the last registration or de-reregistration.
public DescribeDeviceResult withRegistrationTime(Date registrationTime)
The timestamp of the last registration or de-reregistration.
registrationTime
- The timestamp of the last registration or de-reregistration.public void setLatestHeartbeat(Date latestHeartbeat)
The last heartbeat received from the device.
latestHeartbeat
- The last heartbeat received from the device.public Date getLatestHeartbeat()
The last heartbeat received from the device.
public DescribeDeviceResult withLatestHeartbeat(Date latestHeartbeat)
The last heartbeat received from the device.
latestHeartbeat
- The last heartbeat received from the device.public void setModels(Collection<EdgeModel> models)
Models on the device.
models
- Models on the device.public DescribeDeviceResult withModels(EdgeModel... models)
Models on the device.
NOTE: This method appends the values to the existing list (if any). Use
setModels(java.util.Collection)
or withModels(java.util.Collection)
if you want to override the
existing values.
models
- Models on the device.public DescribeDeviceResult withModels(Collection<EdgeModel> models)
Models on the device.
models
- Models on the device.public void setMaxModels(Integer maxModels)
The maximum number of models.
maxModels
- The maximum number of models.public Integer getMaxModels()
The maximum number of models.
public DescribeDeviceResult withMaxModels(Integer maxModels)
The maximum number of models.
maxModels
- The maximum number of models.public void setNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
nextToken
- The response from the last list when returning a list large enough to need tokening.public String getNextToken()
The response from the last list when returning a list large enough to need tokening.
public DescribeDeviceResult withNextToken(String nextToken)
The response from the last list when returning a list large enough to need tokening.
nextToken
- The response from the last list when returning a list large enough to need tokening.public void setAgentVersion(String agentVersion)
Edge Manager agent version.
agentVersion
- Edge Manager agent version.public String getAgentVersion()
Edge Manager agent version.
public DescribeDeviceResult withAgentVersion(String agentVersion)
Edge Manager agent version.
agentVersion
- Edge Manager agent version.public String toString()
toString
in class Object
Object.toString()
public DescribeDeviceResult clone()