Package com.amazonaws.services.iot.model
Class CreateThingResult
- java.lang.Object
-
- com.amazonaws.services.iot.model.CreateThingResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class CreateThingResult extends Object implements Serializable, Cloneable
The output of the CreateThing operation.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CreateThingResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateThingResult
clone()
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.
-
-
-
Method Detail
-
setThingName
public void setThingName(String thingName)
The name of the thing.
- Parameters:
thingName
- The name of the thing.
-
getThingName
public String getThingName()
The name of the thing.
- Returns:
- The name of the thing.
-
withThingName
public CreateThingResult withThingName(String thingName)
The name of the thing.
- Parameters:
thingName
- The name of the thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setThingArn
public void setThingArn(String thingArn)
The thing ARN.
- Parameters:
thingArn
- The thing ARN.
-
getThingArn
public String getThingArn()
The thing ARN.
- Returns:
- The thing ARN.
-
withThingArn
public CreateThingResult withThingArn(String thingArn)
The thing ARN.
- Parameters:
thingArn
- The thing ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateThingResult clone()
-
-