Interface GeocodeResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CopyableBuilder<GeocodeResponse.Builder,,- GeocodeResponse> - GeoPlacesResponse.Builder,- SdkBuilder<GeocodeResponse.Builder,,- GeocodeResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- GeocodeResponse
@Mutable
@NotThreadSafe
public static interface GeocodeResponse.Builder
extends GeoPlacesResponse.Builder, SdkPojo, CopyableBuilder<GeocodeResponse.Builder,GeocodeResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionpricingBucket(String pricingBucket) The pricing bucket for which the query is charged at.resultItems(Collection<GeocodeResultItem> resultItems) List of places or results returned for a query.resultItems(Consumer<GeocodeResultItem.Builder>... resultItems) List of places or results returned for a query.resultItems(GeocodeResultItem... 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 theGeocodeResultItem.Builderavoiding the need to create one manually viaGeocodeResultItem.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresultItems(List<GeocodeResultItem>).- Parameters:
- resultItems- a consumer that will call methods on- GeocodeResultItem.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-