Cloneable
, ReadLimitInfo
, ToCopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
@Generated("software.amazon.awssdk:codegen") public class CreateThingRequest extends AmazonWebServiceRequest implements ToCopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
The input for the CreateThing operation.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CreateThingRequest.Builder |
NOOP
Modifier and Type | Method | Description |
---|---|---|
AttributePayload |
attributePayload() |
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
static CreateThingRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
static Class<? extends CreateThingRequest.Builder> |
serializableBuilderClass() |
|
String |
thingName() |
The name of the thing to create.
|
String |
thingTypeName() |
The name of the thing type associated with the new thing.
|
CreateThingRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
clone, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout
public String thingName()
The name of the thing to create.
public String thingTypeName()
The name of the thing type associated with the new thing.
public AttributePayload attributePayload()
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.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
public static CreateThingRequest.Builder builder()
public static Class<? extends CreateThingRequest.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.