@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateThingRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the CreateThing operation.
NOOP| Constructor and Description |
|---|
CreateThingRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateThingRequest |
clone() |
boolean |
equals(Object obj) |
AttributePayload |
getAttributePayload()
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
String |
getBillingGroupName()
The name of the billing group the thing will be added to.
|
String |
getThingName()
The name of the thing to create.
|
String |
getThingTypeName()
The name of the thing type associated with the new thing.
|
int |
hashCode() |
void |
setAttributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
void |
setBillingGroupName(String billingGroupName)
The name of the billing group the thing will be added to.
|
void |
setThingName(String thingName)
The name of the thing to create.
|
void |
setThingTypeName(String thingTypeName)
The name of the thing type associated with the new thing.
|
String |
toString()
Returns a string representation of this object.
|
CreateThingRequest |
withAttributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
CreateThingRequest |
withBillingGroupName(String billingGroupName)
The name of the billing group the thing will be added to.
|
CreateThingRequest |
withThingName(String thingName)
The name of the thing to create.
|
CreateThingRequest |
withThingTypeName(String thingTypeName)
The name of the thing type associated with the new thing.
|
addHandlerContext, copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setThingName(String thingName)
The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
thingName - The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
public String getThingName()
The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
public CreateThingRequest withThingName(String thingName)
The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
thingName - The name of the thing to create.
You can't change a thing's name after you create it. To change a thing's name, you must create a new thing, give it the new name, and then delete the old thing.
public void setThingTypeName(String thingTypeName)
The name of the thing type associated with the new thing.
thingTypeName - The name of the thing type associated with the new thing.public String getThingTypeName()
The name of the thing type associated with the new thing.
public CreateThingRequest withThingTypeName(String thingTypeName)
The name of the thing type associated with the new thing.
thingTypeName - The name of the thing type associated with the new thing.public void setAttributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
attributePayload - The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
public AttributePayload getAttributePayload()
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
{\"attributes\":{\"string1\":\"string2\"}}
public CreateThingRequest withAttributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
attributePayload - The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
public void setBillingGroupName(String billingGroupName)
The name of the billing group the thing will be added to.
billingGroupName - The name of the billing group the thing will be added to.public String getBillingGroupName()
The name of the billing group the thing will be added to.
public CreateThingRequest withBillingGroupName(String billingGroupName)
The name of the billing group the thing will be added to.
billingGroupName - The name of the billing group the thing will be added to.public String toString()
toString in class ObjectObject.toString()public CreateThingRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2022. All rights reserved.