Interface SearchNearbyResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<SearchNearbyResponse.Builder,,- SearchNearbyResponse> - GeoPlacesResponse.Builder,- SdkBuilder<SearchNearbyResponse.Builder,,- SearchNearbyResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- SearchNearbyResponse
@Mutable
@NotThreadSafe
public static interface SearchNearbyResponse.Builder
extends GeoPlacesResponse.Builder, SdkPojo, CopyableBuilder<SearchNearbyResponse.Builder,SearchNearbyResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionIfnextTokenis returned, there are more results available.pricingBucket(String pricingBucket) The pricing bucket for which the query is charged at.resultItems(Collection<SearchNearbyResultItem> resultItems) List of places or results returned for a query.resultItems(Consumer<SearchNearbyResultItem.Builder>... resultItems) List of places or results returned for a query.resultItems(SearchNearbyResultItem... resultItems) List of places or results returned for a query.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.geoplaces.model.GeoPlacesResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
pricingBucketThe pricing bucket for which the query is charged at. For more information on pricing, please visit Amazon Location Service Pricing. - Parameters:
- pricingBucket- The pricing bucket for which the query is charged at.- For more information on pricing, please visit Amazon Location Service Pricing. 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultItemsList of places or results returned for a query. - Parameters:
- resultItems- List of places or results returned for a query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultItemsList of places or results returned for a query. - Parameters:
- resultItems- List of places or results returned for a query.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
resultItemsList of places or results returned for a query. This is a convenience method that creates an instance of theSearchNearbyResultItem.Builderavoiding the need to create one manually viaSearchNearbyResultItem.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultItems(List<SearchNearbyResultItem>).- Parameters:
- resultItems- a consumer that will call methods on- SearchNearbyResultItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nextTokenIf nextTokenis returned, there are more results available. The value ofnextTokenis a unique pagination token for each page.- Parameters:
- nextToken- If- nextTokenis returned, there are more results available. The value of- nextTokenis a unique pagination token for each page.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-