@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()
Certificate arn of the device.
|
String |
getId()
Element Id for this entry in the list.
|
Boolean |
getSyncShadow()
If true, the local shadow value automatically syncs with the cloud's shadow state.
|
String |
getThingArn()
Thing arn of the device.
|
int |
hashCode() |
Boolean |
isSyncShadow()
If true, the local shadow value automatically syncs with the cloud's shadow state.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
Certificate arn of the device.
|
void |
setId(String id)
Element Id for this entry in the list.
|
void |
setSyncShadow(Boolean syncShadow)
If true, the local shadow value automatically syncs with the cloud's shadow state.
|
void |
setThingArn(String thingArn)
Thing arn of the device.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
Device |
withCertificateArn(String certificateArn)
Certificate arn of the device.
|
Device |
withId(String id)
Element Id for this entry in the list.
|
Device |
withSyncShadow(Boolean syncShadow)
If true, the local shadow value automatically syncs with the cloud's shadow state.
|
Device |
withThingArn(String thingArn)
Thing arn of the device.
|
public void setCertificateArn(String certificateArn)
certificateArn
- Certificate arn of the device.public String getCertificateArn()
public Device withCertificateArn(String certificateArn)
certificateArn
- Certificate arn of the device.public void setId(String id)
id
- Element Id for this entry in the list.public String getId()
public Device withId(String id)
id
- Element Id for this entry in the list.public void setSyncShadow(Boolean syncShadow)
syncShadow
- If true, the local shadow value automatically syncs with the cloud's shadow state.public Boolean getSyncShadow()
public Device withSyncShadow(Boolean syncShadow)
syncShadow
- If true, the local shadow value automatically syncs with the cloud's shadow state.public Boolean isSyncShadow()
public void setThingArn(String thingArn)
thingArn
- Thing arn of the device.public String getThingArn()
public Device withThingArn(String thingArn)
thingArn
- Thing arn of the device.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.