@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()
A descriptive or arbitrary ID for 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)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCertificateArn(String certificateArn)
The ARN of the certificate associated with the device.
|
void |
setId(String id)
A descriptive or arbitrary ID for 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.
|
Device |
withCertificateArn(String certificateArn)
The ARN of the certificate associated with the device.
|
Device |
withId(String id)
A descriptive or arbitrary ID for 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
- A descriptive or arbitrary ID for the device. This value must be unique within the device definition
version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.public String getId()
public Device withId(String id)
id
- A descriptive or arbitrary ID for the device. This value must be unique within the device definition
version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.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 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.