public static interface CreateThingTypeRequest.Builder extends IotRequest.Builder, CopyableBuilder<CreateThingTypeRequest.Builder,CreateThingTypeRequest>
Modifier and Type | Method and Description |
---|---|
CreateThingTypeRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateThingTypeRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateThingTypeRequest.Builder |
thingTypeName(String thingTypeName)
The name of the thing type.
|
default CreateThingTypeRequest.Builder |
thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
CreateThingTypeRequest.Builder |
thingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create.
|
build
overrideConfiguration
copy
applyMutation, build
CreateThingTypeRequest.Builder thingTypeName(String thingTypeName)
The name of the thing type.
thingTypeName
- The name of the thing type.CreateThingTypeRequest.Builder thingTypeProperties(ThingTypeProperties thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
thingTypeProperties
- The ThingTypeProperties for the thing type to create. It contains information about the new thing type
including a description, and a list of searchable thing attribute names.default CreateThingTypeRequest.Builder thingTypeProperties(Consumer<ThingTypeProperties.Builder> thingTypeProperties)
The ThingTypeProperties for the thing type to create. It contains information about the new thing type including a description, and a list of searchable thing attribute names.
This is a convenience that creates an instance of theThingTypeProperties.Builder
avoiding the need
to create one manually via ThingTypeProperties.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to thingTypeProperties(ThingTypeProperties)
.thingTypeProperties
- a consumer that will call methods on ThingTypeProperties.Builder
thingTypeProperties(ThingTypeProperties)
CreateThingTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateThingTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.