@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateThingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
The output of the CreateThing operation.
| Constructor and Description |
|---|
CreateThingResult() |
| Modifier and Type | Method and Description |
|---|---|
CreateThingResult |
clone() |
boolean |
equals(Object obj) |
String |
getThingArn()
The ARN of the new thing.
|
String |
getThingId()
The thing ID.
|
String |
getThingName()
The name of the new thing.
|
int |
hashCode() |
void |
setThingArn(String thingArn)
The ARN of the new thing.
|
void |
setThingId(String thingId)
The thing ID.
|
void |
setThingName(String thingName)
The name of the new thing.
|
String |
toString()
Returns a string representation of this object.
|
CreateThingResult |
withThingArn(String thingArn)
The ARN of the new thing.
|
CreateThingResult |
withThingId(String thingId)
The thing ID.
|
CreateThingResult |
withThingName(String thingName)
The name of the new thing.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setThingName(String thingName)
The name of the new thing.
thingName - The name of the new thing.public String getThingName()
The name of the new thing.
public CreateThingResult withThingName(String thingName)
The name of the new thing.
thingName - The name of the new thing.public void setThingArn(String thingArn)
The ARN of the new thing.
thingArn - The ARN of the new thing.public String getThingArn()
The ARN of the new thing.
public CreateThingResult withThingArn(String thingArn)
The ARN of the new thing.
thingArn - The ARN of the new thing.public void setThingId(String thingId)
The thing ID.
thingId - The thing ID.public String getThingId()
The thing ID.
public CreateThingResult withThingId(String thingId)
The thing ID.
thingId - The thing ID.public String toString()
toString in class ObjectObject.toString()public CreateThingResult clone()