public class CreateThingResult extends Object implements Serializable
The output of the CreateThing operation.
| Constructor and Description |
|---|
CreateThingResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getThingArn()
The thing ARN.
|
String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
setThingArn(String thingArn)
The thing ARN.
|
void |
setThingName(String thingName)
The name of the thing.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingResult |
withThingArn(String thingArn)
The thing ARN.
|
CreateThingResult |
withThingName(String thingName)
The name of the thing.
|
public String getThingName()
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
public void setThingName(String thingName)
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.public CreateThingResult withThingName(String thingName)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.public String getThingArn()
public void setThingArn(String thingArn)
thingArn - The thing ARN.public CreateThingResult withThingArn(String thingArn)
Returns a reference to this object so that method calls can be chained together.
thingArn - The thing ARN.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.