Interface AutocompleteFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutocompleteFilter.Builder,AutocompleteFilter>,SdkBuilder<AutocompleteFilter.Builder,AutocompleteFilter>,SdkPojo
- Enclosing class:
- AutocompleteFilter
public static interface AutocompleteFilter.Builder extends SdkPojo, CopyableBuilder<AutocompleteFilter.Builder,AutocompleteFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutocompleteFilter.BuilderboundingBox(Double... boundingBox)The bounding box enclosing the geometric shape (area or line) that an individual result covers.AutocompleteFilter.BuilderboundingBox(Collection<Double> boundingBox)The bounding box enclosing the geometric shape (area or line) that an individual result covers.default AutocompleteFilter.Buildercircle(Consumer<FilterCircle.Builder> circle)Sets the value of the Circle property for this object.AutocompleteFilter.Buildercircle(FilterCircle circle)Sets the value of the Circle property for this object.AutocompleteFilter.BuilderincludeCountries(String... includeCountries)A list of countries that all results must be in.AutocompleteFilter.BuilderincludeCountries(Collection<String> includeCountries)A list of countries that all results must be in.AutocompleteFilter.BuilderincludePlaceTypes(Collection<AutocompleteFilterPlaceType> includePlaceTypes)The included place types.AutocompleteFilter.BuilderincludePlaceTypes(AutocompleteFilterPlaceType... includePlaceTypes)The included place types.AutocompleteFilter.BuilderincludePlaceTypesWithStrings(String... includePlaceTypes)The included place types.AutocompleteFilter.BuilderincludePlaceTypesWithStrings(Collection<String> includePlaceTypes)The included place types.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
boundingBox
AutocompleteFilter.Builder boundingBox(Collection<Double> boundingBox)
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
The bounding box formed is defined as a set 4 coordinates:
[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Parameters:
boundingBox- The bounding box enclosing the geometric shape (area or line) that an individual result covers.The bounding box formed is defined as a set 4 coordinates:
[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
boundingBox
AutocompleteFilter.Builder boundingBox(Double... boundingBox)
The bounding box enclosing the geometric shape (area or line) that an individual result covers.
The bounding box formed is defined as a set 4 coordinates:
[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Parameters:
boundingBox- The bounding box enclosing the geometric shape (area or line) that an individual result covers.The bounding box formed is defined as a set 4 coordinates:
[{westward lng}, {southern lat}, {eastward lng}, {northern lat}]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
circle
AutocompleteFilter.Builder circle(FilterCircle circle)
Sets the value of the Circle property for this object.- Parameters:
circle- The new value for the Circle property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
circle
default AutocompleteFilter.Builder circle(Consumer<FilterCircle.Builder> circle)
Sets the value of the Circle property for this object. This is a convenience method that creates an instance of theFilterCircle.Builderavoiding the need to create one manually viaFilterCircle.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocircle(FilterCircle).- Parameters:
circle- a consumer that will call methods onFilterCircle.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
circle(FilterCircle)
-
includeCountries
AutocompleteFilter.Builder includeCountries(Collection<String> includeCountries)
A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
- Parameters:
includeCountries- A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includeCountries
AutocompleteFilter.Builder includeCountries(String... includeCountries)
A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.
- Parameters:
includeCountries- A list of countries that all results must be in. Countries are represented by either their alpha-2 or alpha-3 character codes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includePlaceTypesWithStrings
AutocompleteFilter.Builder includePlaceTypesWithStrings(Collection<String> includePlaceTypes)
The included place types.
- Parameters:
includePlaceTypes- The included place types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includePlaceTypesWithStrings
AutocompleteFilter.Builder includePlaceTypesWithStrings(String... includePlaceTypes)
The included place types.
- Parameters:
includePlaceTypes- The included place types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includePlaceTypes
AutocompleteFilter.Builder includePlaceTypes(Collection<AutocompleteFilterPlaceType> includePlaceTypes)
The included place types.
- Parameters:
includePlaceTypes- The included place types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
includePlaceTypes
AutocompleteFilter.Builder includePlaceTypes(AutocompleteFilterPlaceType... includePlaceTypes)
The included place types.
- Parameters:
includePlaceTypes- The included place types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-