CopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
, SdkBuilder<CreateThingRequest.Builder,CreateThingRequest>
public static interface CreateThingRequest.Builder extends CopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
Modifier and Type | Method | Description |
---|---|---|
CreateThingRequest.Builder |
attributePayload(AttributePayload attributePayload) |
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
CreateThingRequest.Builder |
thingName(String thingName) |
The name of the thing to create.
|
CreateThingRequest.Builder |
thingTypeName(String thingTypeName) |
The name of the thing type associated with the new thing.
|
copy
apply, build
CreateThingRequest.Builder thingName(String thingName)
The name of the thing to create.
thingName
- The name of the thing to create.CreateThingRequest.Builder thingTypeName(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.CreateThingRequest.Builder attributePayload(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\"}}
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.