Interface ListThingsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListThingsResponse.Builder,,ListThingsResponse> IotResponse.Builder,SdkBuilder<ListThingsResponse.Builder,,ListThingsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListThingsResponse
@Mutable
@NotThreadSafe
public static interface ListThingsResponse.Builder
extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingsResponse.Builder,ListThingsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe token to use to get the next set of results.things(Collection<ThingAttribute> things) The things.things(Consumer<ThingAttribute.Builder>... things) The things.things(ThingAttribute... things) The things.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iot.model.IotResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
things
The things.
- Parameters:
things- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
The things.
- Parameters:
things- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
The things.
This is a convenience method that creates an instance of theThingAttribute.Builderavoiding the need to create one manually viaThingAttribute.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothings(List<ThingAttribute>).- Parameters:
things- a consumer that will call methods onThingAttribute.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token to use to get the next set of results. Will not be returned if operation has returned all results.
- Parameters:
nextToken- The token to use to get 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.
-