Interface GeocodePreferenceValue.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeocodePreferenceValue.Builder,,GeocodePreferenceValue> SdkBuilder<GeocodePreferenceValue.Builder,,GeocodePreferenceValue> SdkPojo
- Enclosing class:
GeocodePreferenceValue
@Mutable
@NotThreadSafe
public static interface GeocodePreferenceValue.Builder
extends SdkPojo, CopyableBuilder<GeocodePreferenceValue.Builder,GeocodePreferenceValue>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GeocodePreferenceValue.Buildercoordinate(Consumer<Coordinate.Builder> coordinate) The preference coordinate for the geocode preference.coordinate(Coordinate coordinate) The preference coordinate for the geocode preference.default GeocodePreferenceValue.BuildergeocoderHierarchy(Consumer<GeocoderHierarchy.Builder> geocoderHierarchy) The preference hierarchy for the geocode preference.geocoderHierarchy(GeocoderHierarchy geocoderHierarchy) The preference hierarchy for the geocode preference.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
geocoderHierarchy
The preference hierarchy for the geocode preference.
- Parameters:
geocoderHierarchy- The preference hierarchy for the geocode preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geocoderHierarchy
default GeocodePreferenceValue.Builder geocoderHierarchy(Consumer<GeocoderHierarchy.Builder> geocoderHierarchy) The preference hierarchy for the geocode preference.
This is a convenience method that creates an instance of theGeocoderHierarchy.Builderavoiding the need to create one manually viaGeocoderHierarchy.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togeocoderHierarchy(GeocoderHierarchy).- Parameters:
geocoderHierarchy- a consumer that will call methods onGeocoderHierarchy.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
coordinate
The preference coordinate for the geocode preference.
- Parameters:
coordinate- The preference coordinate for the geocode preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coordinate
The preference coordinate for the geocode preference.
This is a convenience method that creates an instance of theCoordinate.Builderavoiding the need to create one manually viaCoordinate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoordinate(Coordinate).- Parameters:
coordinate- a consumer that will call methods onCoordinate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-