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 asnextTokenwhen you request the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaEntityDescription.builder().When the
Consumercompletes,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
nextTokenwhen you request the next page of results.- Parameters:
nextToken- The string to specify asnextTokenwhen you request the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-