Interface ListThingsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListThingsResponse.Builder,ListThingsResponse>
,IotResponse.Builder
,SdkBuilder<ListThingsResponse.Builder,ListThingsResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- ListThingsResponse
public static interface ListThingsResponse.Builder extends IotResponse.Builder, SdkPojo, CopyableBuilder<ListThingsResponse.Builder,ListThingsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListThingsResponse.Builder
nextToken(String nextToken)
The token to use to get the next set of results.ListThingsResponse.Builder
things(Collection<ThingAttribute> things)
The things.ListThingsResponse.Builder
things(Consumer<ThingAttribute.Builder>... things)
The things.ListThingsResponse.Builder
things(ThingAttribute... things)
The things.-
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 Detail
-
things
ListThingsResponse.Builder things(Collection<ThingAttribute> things)
The things.
- Parameters:
things
- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
ListThingsResponse.Builder things(ThingAttribute... things)
The things.
- Parameters:
things
- The things.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
things
ListThingsResponse.Builder things(Consumer<ThingAttribute.Builder>... things)
The things.
This is a convenience method that creates an instance of theThingAttribute.Builder
avoiding the need to create one manually viaThingAttribute.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#things(List
.) - 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:
#things(java.util.Collection
)
-
nextToken
ListThingsResponse.Builder nextToken(String 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.
-
-