public static interface CreateThingRequest.Builder extends IotRequest.Builder, SdkPojo, CopyableBuilder<CreateThingRequest.Builder,CreateThingRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateThingRequest.Builder |
attributePayload(AttributePayload attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
default CreateThingRequest.Builder |
attributePayload(Consumer<AttributePayload.Builder> attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document.
|
CreateThingRequest.Builder |
billingGroupName(String billingGroupName)
The name of the billing group the thing will be added to.
|
CreateThingRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateThingRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
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.
|
buildoverrideConfigurationcopyapplyMutation, buildCreateThingRequest.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\"}}
default CreateThingRequest.Builder attributePayload(Consumer<AttributePayload.Builder> attributePayload)
The attribute payload, which consists of up to three name/value pairs in a JSON document. For example:
{\"attributes\":{\"string1\":\"string2\"}}
AttributePayload.Builder avoiding the need to
create one manually via AttributePayload.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to attributePayload(AttributePayload).attributePayload - a consumer that will call methods on AttributePayload.BuilderattributePayload(AttributePayload)CreateThingRequest.Builder billingGroupName(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.CreateThingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderoverrideConfiguration - The override configuration.CreateThingRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.BuilderoverrideConfiguration in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.