@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 |
getThingName()
The name of the new thing.
|
int |
hashCode() |
void |
setThingArn(String thingArn)
The ARN of the new thing.
|
void |
setThingName(String thingName)
The name of the new thing.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateThingResult |
withThingArn(String thingArn)
The ARN of the new thing.
|
CreateThingResult |
withThingName(String thingName)
The name of the new thing.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public 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 String toString()
toString
in class Object
Object.toString()
public CreateThingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.