Interface GeocodeResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GeocodeResponse.Builder,GeocodeResponse>,GeoPlacesResponse.Builder,SdkBuilder<GeocodeResponse.Builder,GeocodeResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GeocodeResponse
public static interface GeocodeResponse.Builder extends GeoPlacesResponse.Builder, SdkPojo, CopyableBuilder<GeocodeResponse.Builder,GeocodeResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GeocodeResponse.BuilderpricingBucket(String pricingBucket)The pricing bucket for which the query is charged at.GeocodeResponse.BuilderresultItems(Collection<GeocodeResultItem> resultItems)List of places or results returned for a query.GeocodeResponse.BuilderresultItems(Consumer<GeocodeResultItem.Builder>... resultItems)List of places or results returned for a query.GeocodeResponse.BuilderresultItems(GeocodeResultItem... resultItems)List of places or results returned for a query.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.geoplaces.model.GeoPlacesResponse.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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
pricingBucket
GeocodeResponse.Builder pricingBucket(String pricingBucket)
The pricing bucket for which the query is charged at.
For more inforamtion on pricing, please visit Amazon Location Service Pricing.
- Parameters:
pricingBucket- The pricing bucket for which the query is charged at.For more inforamtion on pricing, please visit Amazon Location Service Pricing.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resultItems
GeocodeResponse.Builder resultItems(Collection<GeocodeResultItem> resultItems)
List 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.
-
resultItems
GeocodeResponse.Builder resultItems(GeocodeResultItem... resultItems)
List 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.
-
resultItems
GeocodeResponse.Builder resultItems(Consumer<GeocodeResultItem.Builder>... resultItems)
List 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 to#resultItems(List.) - Parameters:
resultItems- a consumer that will call methods onGeocodeResultItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#resultItems(java.util.Collection)
-
-