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 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.
|
public String getThingName()
The name of the new thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
The name of the new thing.
public void setThingName(String thingName)
The name of the new thing.
Constraints:
Length: 1 - 128
Pattern: [a-zA-Z0-9:_-]+
thingName - The name of the new thing.
public CreateThingResult withThingName(String thingName)
The name of the new 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 new thing.
public String getThingArn()
The ARN of the new thing.
The ARN of the new thing.
public void setThingArn(String thingArn)
The ARN of the new thing.
thingArn - The ARN of the new thing.
public CreateThingResult withThingArn(String thingArn)
The ARN of the new thing.
Returns a reference to this object so that method calls can be chained together.
thingArn - The ARN of the new thing.
public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.