Interface SearchTextResultItem.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SearchTextResultItem.Builder,SearchTextResultItem>,SdkBuilder<SearchTextResultItem.Builder,SearchTextResultItem>,SdkPojo
- Enclosing class:
- SearchTextResultItem
public static interface SearchTextResultItem.Builder extends SdkPojo, CopyableBuilder<SearchTextResultItem.Builder,SearchTextResultItem>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SearchTextResultItem.BuilderaccessPoints(Collection<AccessPoint> accessPoints)Position of the access point represent by longitude and latitude.SearchTextResultItem.BuilderaccessPoints(Consumer<AccessPoint.Builder>... accessPoints)Position of the access point represent by longitude and latitude.SearchTextResultItem.BuilderaccessPoints(AccessPoint... accessPoints)Position of the access point represent by longitude and latitude.SearchTextResultItem.BuilderaccessRestrictions(Collection<AccessRestriction> accessRestrictions)Indicates known access restrictions on a vehicle access point.SearchTextResultItem.BuilderaccessRestrictions(Consumer<AccessRestriction.Builder>... accessRestrictions)Indicates known access restrictions on a vehicle access point.SearchTextResultItem.BuilderaccessRestrictions(AccessRestriction... accessRestrictions)Indicates known access restrictions on a vehicle access point.default SearchTextResultItem.Builderaddress(Consumer<Address.Builder> address)The place's address.SearchTextResultItem.Builderaddress(Address address)The place's address.SearchTextResultItem.BuilderaddressNumberCorrected(Boolean addressNumberCorrected)Boolean indicating if the address provided has been corrected.SearchTextResultItem.BuilderbusinessChains(Collection<BusinessChain> businessChains)The Business Chains associated with the place.SearchTextResultItem.BuilderbusinessChains(Consumer<BusinessChain.Builder>... businessChains)The Business Chains associated with the place.SearchTextResultItem.BuilderbusinessChains(BusinessChain... businessChains)The Business Chains associated with the place.SearchTextResultItem.Buildercategories(Collection<Category> categories)Categories of results that results must belong to.SearchTextResultItem.Buildercategories(Consumer<Category.Builder>... categories)Categories of results that results must belong to.SearchTextResultItem.Buildercategories(Category... categories)Categories of results that results must belong to.default SearchTextResultItem.Buildercontacts(Consumer<Contacts.Builder> contacts)List of potential contact methods for the result/place.SearchTextResultItem.Buildercontacts(Contacts contacts)List of potential contact methods for the result/place.SearchTextResultItem.Builderdistance(Long distance)The distance in meters from the QueryPosition.SearchTextResultItem.BuilderfoodTypes(Collection<FoodType> foodTypes)List of food types offered by this result.SearchTextResultItem.BuilderfoodTypes(Consumer<FoodType.Builder>... foodTypes)List of food types offered by this result.SearchTextResultItem.BuilderfoodTypes(FoodType... foodTypes)List of food types offered by this result.SearchTextResultItem.BuildermapView(Double... mapView)The bounding box enclosing the geometric shape (area or line) that an individual result covers.SearchTextResultItem.BuildermapView(Collection<Double> mapView)The bounding box enclosing the geometric shape (area or line) that an individual result covers.SearchTextResultItem.BuilderopeningHours(Collection<OpeningHours> openingHours)List of opening hours objects.SearchTextResultItem.BuilderopeningHours(Consumer<OpeningHours.Builder>... openingHours)List of opening hours objects.SearchTextResultItem.BuilderopeningHours(OpeningHours... openingHours)List of opening hours objects.default SearchTextResultItem.Builderphonemes(Consumer<PhonemeDetails.Builder> phonemes)How the various components of the result's address are pronounced in various languages.SearchTextResultItem.Builderphonemes(PhonemeDetails phonemes)How the various components of the result's address are pronounced in various languages.SearchTextResultItem.BuilderplaceId(String placeId)ThePlaceIdof the place you wish to receive the information for.SearchTextResultItem.BuilderplaceType(String placeType)APlaceTypeis a category that the result place must belong to.SearchTextResultItem.BuilderplaceType(PlaceType placeType)APlaceTypeis a category that the result place must belong to.SearchTextResultItem.BuilderpoliticalView(String politicalView)The alpha-2 or alpha-3 character code for the political view of a country.SearchTextResultItem.Builderposition(Double... position)The position, in longitude and latitude.SearchTextResultItem.Builderposition(Collection<Double> position)The position, in longitude and latitude.default SearchTextResultItem.BuildertimeZone(Consumer<TimeZone.Builder> timeZone)The time zone in which the place is located.SearchTextResultItem.BuildertimeZone(TimeZone timeZone)The time zone in which the place is located.SearchTextResultItem.Buildertitle(String title)The item's title.-
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
-
placeId
SearchTextResultItem.Builder placeId(String placeId)
The
PlaceIdof the place you wish to receive the information for.- Parameters:
placeId- ThePlaceIdof the place you wish to receive the information for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placeType
SearchTextResultItem.Builder placeType(String placeType)
A
PlaceTypeis a category that the result place must belong to.
-
placeType
SearchTextResultItem.Builder placeType(PlaceType placeType)
A
PlaceTypeis a category that the result place must belong to.
-
title
SearchTextResultItem.Builder title(String title)
The item's title.
- Parameters:
title- The item's title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
SearchTextResultItem.Builder address(Address address)
The place's address.
- Parameters:
address- The place's address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
address
default SearchTextResultItem.Builder address(Consumer<Address.Builder> address)
The place's address.
This is a convenience method that creates an instance of theAddress.Builderavoiding the need to create one manually viaAddress.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaddress(Address).- Parameters:
address- a consumer that will call methods onAddress.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
address(Address)
-
addressNumberCorrected
SearchTextResultItem.Builder addressNumberCorrected(Boolean addressNumberCorrected)
Boolean indicating if the address provided has been corrected.
- Parameters:
addressNumberCorrected- Boolean indicating if the address provided has been corrected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
SearchTextResultItem.Builder position(Collection<Double> position)
The position, in longitude and latitude.
- Parameters:
position- The position, in longitude and latitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
position
SearchTextResultItem.Builder position(Double... position)
The position, in longitude and latitude.
- Parameters:
position- The position, in longitude and latitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
distance
SearchTextResultItem.Builder distance(Long distance)
The distance in meters from the QueryPosition.
- Parameters:
distance- The distance in meters from the QueryPosition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mapView
SearchTextResultItem.Builder mapView(Collection<Double> mapView)
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:
mapView- 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.
-
mapView
SearchTextResultItem.Builder mapView(Double... mapView)
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:
mapView- 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.
-
categories
SearchTextResultItem.Builder categories(Collection<Category> categories)
Categories of results that results must belong to.
- Parameters:
categories- Categories of results that results must belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
SearchTextResultItem.Builder categories(Category... categories)
Categories of results that results must belong to.
- Parameters:
categories- Categories of results that results must belong to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
categories
SearchTextResultItem.Builder categories(Consumer<Category.Builder>... categories)
Categories of results that results must belong to.
This is a convenience method that creates an instance of theCategory.Builderavoiding the need to create one manually viaCategory.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#categories(List.) - Parameters:
categories- a consumer that will call methods onCategory.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#categories(java.util.Collection)
-
foodTypes
SearchTextResultItem.Builder foodTypes(Collection<FoodType> foodTypes)
List of food types offered by this result.
- Parameters:
foodTypes- List of food types offered by this result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foodTypes
SearchTextResultItem.Builder foodTypes(FoodType... foodTypes)
List of food types offered by this result.
- Parameters:
foodTypes- List of food types offered by this result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
foodTypes
SearchTextResultItem.Builder foodTypes(Consumer<FoodType.Builder>... foodTypes)
List of food types offered by this result.
This is a convenience method that creates an instance of theFoodType.Builderavoiding the need to create one manually viaFoodType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#foodTypes(List.) - Parameters:
foodTypes- a consumer that will call methods onFoodType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#foodTypes(java.util.Collection)
-
businessChains
SearchTextResultItem.Builder businessChains(Collection<BusinessChain> businessChains)
The Business Chains associated with the place.
- Parameters:
businessChains- The Business Chains associated with the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
SearchTextResultItem.Builder businessChains(BusinessChain... businessChains)
The Business Chains associated with the place.
- Parameters:
businessChains- The Business Chains associated with the place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
businessChains
SearchTextResultItem.Builder businessChains(Consumer<BusinessChain.Builder>... businessChains)
The Business Chains associated with the place.
This is a convenience method that creates an instance of theBusinessChain.Builderavoiding the need to create one manually viaBusinessChain.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#businessChains(List.) - Parameters:
businessChains- a consumer that will call methods onBusinessChain.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#businessChains(java.util.Collection)
-
contacts
SearchTextResultItem.Builder contacts(Contacts contacts)
List of potential contact methods for the result/place.
- Parameters:
contacts- List of potential contact methods for the result/place.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contacts
default SearchTextResultItem.Builder contacts(Consumer<Contacts.Builder> contacts)
List of potential contact methods for the result/place.
This is a convenience method that creates an instance of theContacts.Builderavoiding the need to create one manually viaContacts.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontacts(Contacts).- Parameters:
contacts- a consumer that will call methods onContacts.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
contacts(Contacts)
-
openingHours
SearchTextResultItem.Builder openingHours(Collection<OpeningHours> openingHours)
List of opening hours objects.
- Parameters:
openingHours- List of opening hours objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openingHours
SearchTextResultItem.Builder openingHours(OpeningHours... openingHours)
List of opening hours objects.
- Parameters:
openingHours- List of opening hours objects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openingHours
SearchTextResultItem.Builder openingHours(Consumer<OpeningHours.Builder>... openingHours)
List of opening hours objects.
This is a convenience method that creates an instance of theOpeningHours.Builderavoiding the need to create one manually viaOpeningHours.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#openingHours(List.) - Parameters:
openingHours- a consumer that will call methods onOpeningHours.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#openingHours(java.util.Collection)
-
accessPoints
SearchTextResultItem.Builder accessPoints(Collection<AccessPoint> accessPoints)
Position of the access point represent by longitude and latitude.
- Parameters:
accessPoints- Position of the access point represent by longitude and latitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
SearchTextResultItem.Builder accessPoints(AccessPoint... accessPoints)
Position of the access point represent by longitude and latitude.
- Parameters:
accessPoints- Position of the access point represent by longitude and latitude.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessPoints
SearchTextResultItem.Builder accessPoints(Consumer<AccessPoint.Builder>... accessPoints)
Position of the access point represent by longitude and latitude.
This is a convenience method that creates an instance of theAccessPoint.Builderavoiding the need to create one manually viaAccessPoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessPoints(List.) - Parameters:
accessPoints- a consumer that will call methods onAccessPoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessPoints(java.util.Collection)
-
accessRestrictions
SearchTextResultItem.Builder accessRestrictions(Collection<AccessRestriction> accessRestrictions)
Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
- Parameters:
accessRestrictions- Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessRestrictions
SearchTextResultItem.Builder accessRestrictions(AccessRestriction... accessRestrictions)
Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
- Parameters:
accessRestrictions- Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accessRestrictions
SearchTextResultItem.Builder accessRestrictions(Consumer<AccessRestriction.Builder>... accessRestrictions)
Indicates known access restrictions on a vehicle access point. The index correlates to an access point and indicates if access through this point has some form of restriction.
This is a convenience method that creates an instance of theAccessRestriction.Builderavoiding the need to create one manually viaAccessRestriction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accessRestrictions(List.) - Parameters:
accessRestrictions- a consumer that will call methods onAccessRestriction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accessRestrictions(java.util.Collection)
-
timeZone
SearchTextResultItem.Builder timeZone(TimeZone timeZone)
The time zone in which the place is located.
- Parameters:
timeZone- The time zone in which the place is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeZone
default SearchTextResultItem.Builder timeZone(Consumer<TimeZone.Builder> timeZone)
The time zone in which the place is located.
This is a convenience method that creates an instance of theTimeZone.Builderavoiding the need to create one manually viaTimeZone.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeZone(TimeZone).- Parameters:
timeZone- a consumer that will call methods onTimeZone.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
timeZone(TimeZone)
-
politicalView
SearchTextResultItem.Builder politicalView(String politicalView)
The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.
- Parameters:
politicalView- The alpha-2 or alpha-3 character code for the political view of a country. The political view applies to the results of the request to represent unresolved territorial claims through the point of view of the specified country.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phonemes
SearchTextResultItem.Builder phonemes(PhonemeDetails phonemes)
How the various components of the result's address are pronounced in various languages.
- Parameters:
phonemes- How the various components of the result's address are pronounced in various languages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
phonemes
default SearchTextResultItem.Builder phonemes(Consumer<PhonemeDetails.Builder> phonemes)
How the various components of the result's address are pronounced in various languages.
This is a convenience method that creates an instance of thePhonemeDetails.Builderavoiding the need to create one manually viaPhonemeDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tophonemes(PhonemeDetails).- Parameters:
phonemes- a consumer that will call methods onPhonemeDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
phonemes(PhonemeDetails)
-
-