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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SearchEntitiesResponse.Builderdescriptions(Collection<EntityDescription> descriptions)An array of descriptions for each entity returned in the search result.SearchEntitiesResponse.Builderdescriptions(Consumer<EntityDescription.Builder>... descriptions)An array of descriptions for each entity returned in the search result.SearchEntitiesResponse.Builderdescriptions(EntityDescription... descriptions)An array of descriptions for each entity returned in the search result.SearchEntitiesResponse.BuildernextToken(String nextToken)The string to specify asnextTokenwhen 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 Detail
-
descriptions
SearchEntitiesResponse.Builder descriptions(Collection<EntityDescription> 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
SearchEntitiesResponse.Builder descriptions(EntityDescription... 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
SearchEntitiesResponse.Builder descriptions(Consumer<EntityDescription.Builder>... 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 to#descriptions(List.) - 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:
#descriptions(java.util.Collection)
-
nextToken
SearchEntitiesResponse.Builder nextToken(String 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.
-
-