public class CreateThingResult
extends java.lang.Object
implements java.io.Serializable
The output of the CreateThing operation.
Constructor and Description |
---|
CreateThingResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getThingArn()
The ARN of the new thing.
|
java.lang.String |
getThingId()
The thing ID.
|
java.lang.String |
getThingName()
The name of the new thing.
|
int |
hashCode() |
void |
setThingArn(java.lang.String thingArn)
The ARN of the new thing.
|
void |
setThingId(java.lang.String thingId)
The thing ID.
|
void |
setThingName(java.lang.String thingName)
The name of the new thing.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateThingResult |
withThingArn(java.lang.String thingArn)
The ARN of the new thing.
|
CreateThingResult |
withThingId(java.lang.String thingId)
The thing ID.
|
CreateThingResult |
withThingName(java.lang.String thingName)
The name of the new thing.
|
public java.lang.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(java.lang.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(java.lang.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 java.lang.String getThingArn()
The ARN of the new thing.
The ARN of the new thing.
public void setThingArn(java.lang.String thingArn)
The ARN of the new thing.
thingArn
- The ARN of the new thing.
public CreateThingResult withThingArn(java.lang.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 java.lang.String getThingId()
The thing ID.
The thing ID.
public void setThingId(java.lang.String thingId)
The thing ID.
thingId
- The thing ID.
public CreateThingResult withThingId(java.lang.String thingId)
The thing ID.
Returns a reference to this object so that method calls can be chained together.
thingId
- The thing ID.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.