Interface SearchEntitiesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<SearchEntitiesResponse.Builder,
,SearchEntitiesResponse> IoTThingsGraphResponse.Builder
,SdkBuilder<SearchEntitiesResponse.Builder,
,SearchEntitiesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SearchEntitiesResponse
public static interface SearchEntitiesResponse.Builder
extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<SearchEntitiesResponse.Builder,SearchEntitiesResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondescriptions
(Collection<EntityDescription> descriptions) An array of descriptions for each entity returned in the search result.descriptions
(Consumer<EntityDescription.Builder>... descriptions) An array of descriptions for each entity returned in the search result.descriptions
(EntityDescription... descriptions) An array of descriptions for each entity returned in the search result.The string to specify asnextToken
when you request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.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
-
descriptions
An array of descriptions for each entity returned in the search result.
- Parameters:
descriptions
- An array of descriptions for each entity returned in the search result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptions
An array of descriptions for each entity returned in the search result.
- Parameters:
descriptions
- An array of descriptions for each entity returned in the search result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
descriptions
An array of descriptions for each entity returned in the search result.
This is a convenience method that creates an instance of theEntityDescription.Builder
avoiding the need to create one manually viaEntityDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todescriptions(List<EntityDescription>)
.- Parameters:
descriptions
- a consumer that will call methods onEntityDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The string to specify as
nextToken
when you request the next page of results.- Parameters:
nextToken
- The string to specify asnextToken
when you request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-