@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Thing extends Object implements Serializable, Cloneable, StructuredPojo
An AWS IoT thing.
Constructor and Description |
---|
Thing() |
Modifier and Type | Method and Description |
---|---|
Thing |
clone() |
boolean |
equals(Object obj) |
String |
getThingArn()
The ARN of the thing.
|
String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setThingArn(String thingArn)
The ARN of the thing.
|
void |
setThingName(String thingName)
The name of the thing.
|
String |
toString()
Returns a string representation of this object.
|
Thing |
withThingArn(String thingArn)
The ARN of the thing.
|
Thing |
withThingName(String thingName)
The name of the thing.
|
public void setThingArn(String thingArn)
The ARN of the thing.
thingArn
- The ARN of the thing.public String getThingArn()
The ARN of the thing.
public Thing withThingArn(String thingArn)
The ARN of the thing.
thingArn
- The ARN of the thing.public void setThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.public String getThingName()
The name of the thing.
public Thing withThingName(String thingName)
The name of the thing.
thingName
- The name of the thing.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.