Interface SearchTextFilter.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchTextFilter.Builder,SearchTextFilter>,SdkBuilder<SearchTextFilter.Builder,SearchTextFilter>,SdkPojo
- Enclosing class:
- SearchTextFilter
public static interface SearchTextFilter.Builder extends SdkPojo, CopyableBuilder<SearchTextFilter.Builder,SearchTextFilter>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchTextFilter.BuilderboundingBox(Double... boundingBox)The bounding box enclosing the geometric shape (area or line) that an individual result covers.SearchTextFilter.BuilderboundingBox(Collection<Double> boundingBox)The bounding box enclosing the geometric shape (area or line) that an individual result covers.default SearchTextFilter.Buildercircle(Consumer<FilterCircle.Builder> circle)Sets the value of the Circle property for this object.SearchTextFilter.Buildercircle(FilterCircle circle)Sets the value of the Circle property for this object.SearchTextFilter.BuilderincludeCountries(String... includeCountries)A list of countries that all results must be in.SearchTextFilter.BuilderincludeCountries(Collection<String> includeCountries)A list of countries that all results must be in.-
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
SearchTextFilter.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
SearchTextFilter.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
SearchTextFilter.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 SearchTextFilter.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
SearchTextFilter.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
SearchTextFilter.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.
-
-