@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()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
AttributePayload |
getAttributePayload()
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
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 |
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; useful for testing and debugging.
|
CreateThingRequest |
withAttributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
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, 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, withSdkRequestTimeout
public void setThingName(String thingName)
The name of the thing to create.
thingName
- The name of the thing to create.public String getThingName()
The name of the thing to create.
public CreateThingRequest withThingName(String thingName)
The name of the thing to create.
thingName
- The name of the thing to create.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 String toString()
toString
in class Object
Object.toString()
public CreateThingRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.