public class CreateThingResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The output of the CreateThing operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
thingArn
The thing ARN.
|
private java.lang.String |
thingName
The name of the thing.
|
Constructor and Description |
---|
CreateThingResult() |
Modifier and Type | Method and Description |
---|---|
CreateThingResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getThingArn()
The thing ARN.
|
java.lang.String |
getThingName()
The name of the thing.
|
int |
hashCode() |
void |
setThingArn(java.lang.String thingArn)
The thing ARN.
|
void |
setThingName(java.lang.String thingName)
The name of the thing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingResult |
withThingArn(java.lang.String thingArn)
The thing ARN.
|
CreateThingResult |
withThingName(java.lang.String thingName)
The name of the thing.
|
private java.lang.String thingName
The name of the thing.
private java.lang.String thingArn
The thing ARN.
public void setThingName(java.lang.String thingName)
The name of the thing.
thingName
- The name of the thing.public java.lang.String getThingName()
The name of the thing.
public CreateThingResult withThingName(java.lang.String thingName)
The name of the thing.
thingName
- The name of the thing.public void setThingArn(java.lang.String thingArn)
The thing ARN.
thingArn
- The thing ARN.public java.lang.String getThingArn()
The thing ARN.
public CreateThingResult withThingArn(java.lang.String thingArn)
The thing ARN.
thingArn
- The thing ARN.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CreateThingResult clone()
clone
in class java.lang.Object