@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Device extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
Device() |
| Modifier and Type | Method and Description |
|---|---|
Device |
clone() |
boolean |
equals(Object obj) |
String |
getCertificateArn()
The ARN of the certificate associated with the device.
|
String |
getId()
The ID of the device.
|
Boolean |
getSyncShadow()
If true, the device's local shadow will be automatically synced with the cloud.
|
String |
getThingArn()
The thing ARN of the device.
|
int |
hashCode() |
Boolean |
isSyncShadow()
If true, the device's local shadow will be automatically synced with the cloud.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCertificateArn(String certificateArn)
The ARN of the certificate associated with the device.
|
void |
setId(String id)
The ID of the device.
|
void |
setSyncShadow(Boolean syncShadow)
If true, the device's local shadow will be automatically synced with the cloud.
|
void |
setThingArn(String thingArn)
The thing ARN of the device.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Device |
withCertificateArn(String certificateArn)
The ARN of the certificate associated with the device.
|
Device |
withId(String id)
The ID of the device.
|
Device |
withSyncShadow(Boolean syncShadow)
If true, the device's local shadow will be automatically synced with the cloud.
|
Device |
withThingArn(String thingArn)
The thing ARN of the device.
|
public void setCertificateArn(String certificateArn)
certificateArn - The ARN of the certificate associated with the device.public String getCertificateArn()
public Device withCertificateArn(String certificateArn)
certificateArn - The ARN of the certificate associated with the device.public void setId(String id)
id - The ID of the device.public String getId()
public Device withId(String id)
id - The ID of the device.public void setSyncShadow(Boolean syncShadow)
syncShadow - If true, the device's local shadow will be automatically synced with the cloud.public Boolean getSyncShadow()
public Device withSyncShadow(Boolean syncShadow)
syncShadow - If true, the device's local shadow will be automatically synced with the cloud.public Boolean isSyncShadow()
public void setThingArn(String thingArn)
thingArn - The thing ARN of the device.public String getThingArn()
public Device withThingArn(String thingArn)
thingArn - The thing ARN of the device.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2018. All rights reserved.