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()
The name of the thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
The name of the thing.
public void setThingName(String thingName)
The name of the thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9_-]+
thingName - The name of the thing.
public CreateThingResult withThingName(String thingName)
The name of the thing.
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()
The thing ARN.
The thing ARN.
public void setThingArn(String thingArn)
The thing ARN.
thingArn - The thing ARN.
public CreateThingResult withThingArn(String thingArn)
The thing ARN.
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.