Interface GeocodePreference.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GeocodePreference.Builder,,GeocodePreference> SdkBuilder<GeocodePreference.Builder,,GeocodePreference> SdkPojo
- Enclosing class:
GeocodePreference
@Mutable
@NotThreadSafe
public static interface GeocodePreference.Builder
extends SdkPojo, CopyableBuilder<GeocodePreference.Builder,GeocodePreference>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GeocodePreference.Builderpreference(Consumer<GeocodePreferenceValue.Builder> preference) The preference definition for the geocode preference.preference(GeocodePreferenceValue preference) The preference definition for the geocode preference.default GeocodePreference.BuilderrequestKey(Consumer<GeocoderHierarchy.Builder> requestKey) The unique request key for the geocode preference.requestKey(GeocoderHierarchy requestKey) The unique request key 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
-
requestKey
The unique request key for the geocode preference.
- Parameters:
requestKey- The unique request key for the geocode preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestKey
The unique request key 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 torequestKey(GeocoderHierarchy).- Parameters:
requestKey- 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:
-
preference
The preference definition for the geocode preference.
- Parameters:
preference- The preference definition for the geocode preference.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
preference
The preference definition for the geocode preference.
This is a convenience method that creates an instance of theGeocodePreferenceValue.Builderavoiding the need to create one manually viaGeocodePreferenceValue.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topreference(GeocodePreferenceValue).- Parameters:
preference- a consumer that will call methods onGeocodePreferenceValue.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-