Interface ListThingTypesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListThingTypesResponse.Builder,
,ListThingTypesResponse> IotResponse.Builder
,SdkBuilder<ListThingTypesResponse.Builder,
,ListThingTypesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListThingTypesResponse
public static interface ListThingTypesResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingTypesResponse.Builder,ListThingTypesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token for the next set of results.thingTypes
(Collection<ThingTypeDefinition> thingTypes) The thing types.thingTypes
(Consumer<ThingTypeDefinition.Builder>... thingTypes) The thing types.thingTypes
(ThingTypeDefinition... thingTypes) The thing types.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
thingTypes
The thing types.
- Parameters:
thingTypes
- The thing types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypes
The thing types.
- Parameters:
thingTypes
- The thing types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
thingTypes
The thing types.
This is a convenience method that creates an instance of theThingTypeDefinition.Builder
avoiding the need to create one manually viaThingTypeDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothingTypes(List<ThingTypeDefinition>)
.- Parameters:
thingTypes
- a consumer that will call methods onThingTypeDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results. Will not be returned if operation has returned all results.
- Parameters:
nextToken
- The token for the next set of results. Will not be returned if operation has returned all results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-