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 CreateThingResultclone()booleanequals(Object obj)StringgetThingArn()The thing ARN.StringgetThingName()The name of the thing.inthashCode()voidsetThingArn(String thingArn)The thing ARN.voidsetThingName(String thingName)The name of the thing.StringtoString()Returns a string representation of this object; useful for testing and debugging.CreateThingResultwithThingArn(String thingArn)The thing ARN.CreateThingResultwithThingName(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public CreateThingResult clone()
-
-