Interface SearchTextResultItem.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<SearchTextResultItem.Builder,,- SearchTextResultItem> - SdkBuilder<SearchTextResultItem.Builder,,- SearchTextResultItem> - SdkPojo
- Enclosing class:
- SearchTextResultItem
- 
Method SummaryModifier and TypeMethodDescriptionaccessPoints(Collection<AccessPoint> accessPoints) Position of the access point represent by longitude and latitude.accessPoints(Consumer<AccessPoint.Builder>... accessPoints) Position of the access point represent by longitude and latitude.accessPoints(AccessPoint... accessPoints) Position of the access point represent by longitude and latitude.accessRestrictions(Collection<AccessRestriction> accessRestrictions) Indicates known access restrictions on a vehicle access point.accessRestrictions(Consumer<AccessRestriction.Builder>... accessRestrictions) Indicates known access restrictions on a vehicle access point.accessRestrictions(AccessRestriction... accessRestrictions) Indicates known access restrictions on a vehicle access point.default SearchTextResultItem.Builderaddress(Consumer<Address.Builder> address) The place's address.The place's address.addressNumberCorrected(Boolean addressNumberCorrected) Boolean indicating if the address provided has been corrected.businessChains(Collection<BusinessChain> businessChains) The Business Chains associated with the place.businessChains(Consumer<BusinessChain.Builder>... businessChains) The Business Chains associated with the place.businessChains(BusinessChain... businessChains) The Business Chains associated with the place.categories(Collection<Category> categories) Categories of results that results must belong to.categories(Consumer<Category.Builder>... categories) Categories of results that results must belong to.categories(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.List of potential contact methods for the result/place.The distance in meters from the QueryPosition.foodTypes(Collection<FoodType> foodTypes) List of food types offered by this result.foodTypes(Consumer<FoodType.Builder>... foodTypes) List of food types offered by this result.List of food types offered by this result.The bounding box enclosing the geometric shape (area or line) that an individual result covers.mapView(Collection<Double> mapView) The bounding box enclosing the geometric shape (area or line) that an individual result covers.openingHours(Collection<OpeningHours> openingHours) List of opening hours objects.openingHours(Consumer<OpeningHours.Builder>... openingHours) List of opening hours objects.openingHours(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.phonemes(PhonemeDetails phonemes) How the various components of the result's address are pronounced in various languages.ThePlaceIdof the place you wish to receive the information for.APlaceTypeis a category that the result place must belong to.APlaceTypeis a category that the result place must belong to.politicalView(String politicalView) The alpha-2 or alpha-3 character code for the political view of a country.The position, in longitude and latitude.position(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.The time zone in which the place is located.The item's title.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
placeIdThe PlaceIdof the place you wish to receive the information for.- Parameters:
- placeId- The- PlaceIdof the place you wish to receive the information for.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
placeTypeA PlaceTypeis a category that the result place must belong to.- Parameters:
- placeType- A- PlaceTypeis a category that the result place must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
placeTypeA PlaceTypeis a category that the result place must belong to.- Parameters:
- placeType- A- PlaceTypeis a category that the result place must belong to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
titleThe item's title. - Parameters:
- title- The item's title.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addressThe place's address. - Parameters:
- address- The place's address.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
addressThe 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 on- Address.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
addressNumberCorrectedBoolean 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.
 
- 
positionThe 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.
 
- 
positionThe 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.
 
- 
distanceThe 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.
 
- 
mapViewThe 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.
 
- 
mapViewThe 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.
 
- 
categoriesCategories 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.
 
- 
categoriesCategories 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.
 
- 
categoriesCategories 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 tocategories(List<Category>).- Parameters:
- categories- a consumer that will call methods on- Category.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
foodTypesList 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.
 
- 
foodTypesList 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.
 
- 
foodTypesList 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 tofoodTypes(List<FoodType>).- Parameters:
- foodTypes- a consumer that will call methods on- FoodType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
businessChainsThe 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.
 
- 
businessChainsThe 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.
 
- 
businessChainsThe 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 tobusinessChains(List<BusinessChain>).- Parameters:
- businessChains- a consumer that will call methods on- BusinessChain.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
contactsList 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.
 
- 
contactsList 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 on- Contacts.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
openingHoursList 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.
 
- 
openingHoursList 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.
 
- 
openingHoursList 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 toopeningHours(List<OpeningHours>).- Parameters:
- openingHours- a consumer that will call methods on- OpeningHours.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessPointsPosition 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.
 
- 
accessPointsPosition 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.
 
- 
accessPointsPosition 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 toaccessPoints(List<AccessPoint>).- Parameters:
- accessPoints- a consumer that will call methods on- AccessPoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
accessRestrictionsIndicates 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.
 
- 
accessRestrictionsIndicates 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.
 
- 
accessRestrictionsSearchTextResultItem.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 toaccessRestrictions(List<AccessRestriction>).- Parameters:
- accessRestrictions- a consumer that will call methods on- AccessRestriction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timeZoneThe 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.
 
- 
timeZoneThe 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 on- TimeZone.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
politicalViewThe 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.
 
- 
phonemesHow 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.
 
- 
phonemesHow 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 on- PhonemeDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-