Interface AutocompleteAddressHighlights.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AutocompleteAddressHighlights.Builder,AutocompleteAddressHighlights>,SdkBuilder<AutocompleteAddressHighlights.Builder,AutocompleteAddressHighlights>,SdkPojo
- Enclosing class:
- AutocompleteAddressHighlights
public static interface AutocompleteAddressHighlights.Builder extends SdkPojo, CopyableBuilder<AutocompleteAddressHighlights.Builder,AutocompleteAddressHighlights>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AutocompleteAddressHighlights.BuilderaddressNumber(Collection<Highlight> addressNumber)The house number or address results should have.AutocompleteAddressHighlights.BuilderaddressNumber(Consumer<Highlight.Builder>... addressNumber)The house number or address results should have.AutocompleteAddressHighlights.BuilderaddressNumber(Highlight... addressNumber)The house number or address results should have.AutocompleteAddressHighlights.Builderblock(Collection<Highlight> block)Name of the block.AutocompleteAddressHighlights.Builderblock(Consumer<Highlight.Builder>... block)Name of the block.AutocompleteAddressHighlights.Builderblock(Highlight... block)Name of the block.AutocompleteAddressHighlights.Builderbuilding(Collection<Highlight> building)The name of the building at the address.AutocompleteAddressHighlights.Builderbuilding(Consumer<Highlight.Builder>... building)The name of the building at the address.AutocompleteAddressHighlights.Builderbuilding(Highlight... building)The name of the building at the address.default AutocompleteAddressHighlights.Buildercountry(Consumer<CountryHighlights.Builder> country)The alpha-2 or alpha-3 character code for the country that the results will be present in.AutocompleteAddressHighlights.Buildercountry(CountryHighlights country)The alpha-2 or alpha-3 character code for the country that the results will be present in.AutocompleteAddressHighlights.Builderdistrict(Collection<Highlight> district)The district or division of a city the results should be present in.AutocompleteAddressHighlights.Builderdistrict(Consumer<Highlight.Builder>... district)The district or division of a city the results should be present in.AutocompleteAddressHighlights.Builderdistrict(Highlight... district)The district or division of a city the results should be present in.AutocompleteAddressHighlights.Builderintersection(Collection<? extends Collection<Highlight>> intersection)Name of the streets in the intersection.AutocompleteAddressHighlights.Builderintersection(Collection<Highlight>... intersection)Name of the streets in the intersection.AutocompleteAddressHighlights.Builderlabel(Collection<Highlight> label)Indicates the starting and ending indexes for result items where they are identified to match the input query.AutocompleteAddressHighlights.Builderlabel(Consumer<Highlight.Builder>... label)Indicates the starting and ending indexes for result items where they are identified to match the input query.AutocompleteAddressHighlights.Builderlabel(Highlight... label)Indicates the starting and ending indexes for result items where they are identified to match the input query.AutocompleteAddressHighlights.Builderlocality(Collection<Highlight> locality)The city or locality results should be present in.AutocompleteAddressHighlights.Builderlocality(Consumer<Highlight.Builder>... locality)The city or locality results should be present in.AutocompleteAddressHighlights.Builderlocality(Highlight... locality)The city or locality results should be present in.AutocompleteAddressHighlights.BuilderpostalCode(Collection<Highlight> postalCode)An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.AutocompleteAddressHighlights.BuilderpostalCode(Consumer<Highlight.Builder>... postalCode)An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.AutocompleteAddressHighlights.BuilderpostalCode(Highlight... postalCode)An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.default AutocompleteAddressHighlights.Builderregion(Consumer<RegionHighlights.Builder> region)The region or state results should be to be present in.AutocompleteAddressHighlights.Builderregion(RegionHighlights region)The region or state results should be to be present in.AutocompleteAddressHighlights.Builderstreet(Collection<Highlight> street)The name of the street results should be present in.AutocompleteAddressHighlights.Builderstreet(Consumer<Highlight.Builder>... street)The name of the street results should be present in.AutocompleteAddressHighlights.Builderstreet(Highlight... street)The name of the street results should be present in.AutocompleteAddressHighlights.BuildersubBlock(Collection<Highlight> subBlock)Name of sub-block.AutocompleteAddressHighlights.BuildersubBlock(Consumer<Highlight.Builder>... subBlock)Name of sub-block.AutocompleteAddressHighlights.BuildersubBlock(Highlight... subBlock)Name of sub-block.AutocompleteAddressHighlights.BuildersubDistrict(Collection<Highlight> subDistrict)Indicates the starting and ending index of the title in the text query that match the found title.AutocompleteAddressHighlights.BuildersubDistrict(Consumer<Highlight.Builder>... subDistrict)Indicates the starting and ending index of the title in the text query that match the found title.AutocompleteAddressHighlights.BuildersubDistrict(Highlight... subDistrict)Indicates the starting and ending index of the title in the text query that match the found title.default AutocompleteAddressHighlights.BuildersubRegion(Consumer<SubRegionHighlights.Builder> subRegion)The sub-region or county for which results should be present in.AutocompleteAddressHighlights.BuildersubRegion(SubRegionHighlights subRegion)The sub-region or county for which results should be present 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
-
label
AutocompleteAddressHighlights.Builder label(Collection<Highlight> label)
Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.
- Parameters:
label- Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
AutocompleteAddressHighlights.Builder label(Highlight... label)
Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.
- Parameters:
label- Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
label
AutocompleteAddressHighlights.Builder label(Consumer<Highlight.Builder>... label)
Indicates the starting and ending indexes for result items where they are identified to match the input query. This should be used to provide emphasis to output display to make selecting the correct result from a list easier for end users.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#label(List.) - Parameters:
label- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#label(java.util.Collection)
-
country
AutocompleteAddressHighlights.Builder country(CountryHighlights country)
The alpha-2 or alpha-3 character code for the country that the results will be present in.
- Parameters:
country- The alpha-2 or alpha-3 character code for the country that the results will be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
country
default AutocompleteAddressHighlights.Builder country(Consumer<CountryHighlights.Builder> country)
The alpha-2 or alpha-3 character code for the country that the results will be present in.
This is a convenience method that creates an instance of theCountryHighlights.Builderavoiding the need to create one manually viaCountryHighlights.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocountry(CountryHighlights).- Parameters:
country- a consumer that will call methods onCountryHighlights.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
country(CountryHighlights)
-
region
AutocompleteAddressHighlights.Builder region(RegionHighlights region)
The region or state results should be to be present in.
Example:
North Rhine-Westphalia.- Parameters:
region- The region or state results should be to be present in.Example:
North Rhine-Westphalia.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
region
default AutocompleteAddressHighlights.Builder region(Consumer<RegionHighlights.Builder> region)
The region or state results should be to be present in.
Example:
This is a convenience method that creates an instance of theNorth Rhine-Westphalia.RegionHighlights.Builderavoiding the need to create one manually viaRegionHighlights.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregion(RegionHighlights).- Parameters:
region- a consumer that will call methods onRegionHighlights.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
region(RegionHighlights)
-
subRegion
AutocompleteAddressHighlights.Builder subRegion(SubRegionHighlights subRegion)
The sub-region or county for which results should be present in.
- Parameters:
subRegion- The sub-region or county for which results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subRegion
default AutocompleteAddressHighlights.Builder subRegion(Consumer<SubRegionHighlights.Builder> subRegion)
The sub-region or county for which results should be present in.
This is a convenience method that creates an instance of theSubRegionHighlights.Builderavoiding the need to create one manually viaSubRegionHighlights.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosubRegion(SubRegionHighlights).- Parameters:
subRegion- a consumer that will call methods onSubRegionHighlights.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
subRegion(SubRegionHighlights)
-
locality
AutocompleteAddressHighlights.Builder locality(Collection<Highlight> locality)
The city or locality results should be present in.
Example:
Vancouver.- Parameters:
locality- The city or locality results should be present in.Example:
Vancouver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
AutocompleteAddressHighlights.Builder locality(Highlight... locality)
The city or locality results should be present in.
Example:
Vancouver.- Parameters:
locality- The city or locality results should be present in.Example:
Vancouver.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
locality
AutocompleteAddressHighlights.Builder locality(Consumer<Highlight.Builder>... locality)
The city or locality results should be present in.
Example:
This is a convenience method that creates an instance of theVancouver.Highlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#locality(List.) - Parameters:
locality- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#locality(java.util.Collection)
-
district
AutocompleteAddressHighlights.Builder district(Collection<Highlight> district)
The district or division of a city the results should be present in.
- Parameters:
district- The district or division of a city the results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
district
AutocompleteAddressHighlights.Builder district(Highlight... district)
The district or division of a city the results should be present in.
- Parameters:
district- The district or division of a city the results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
district
AutocompleteAddressHighlights.Builder district(Consumer<Highlight.Builder>... district)
The district or division of a city the results should be present in.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#district(List.) - Parameters:
district- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#district(java.util.Collection)
-
subDistrict
AutocompleteAddressHighlights.Builder subDistrict(Collection<Highlight> subDistrict)
Indicates the starting and ending index of the title in the text query that match the found title.
- Parameters:
subDistrict- Indicates the starting and ending index of the title in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDistrict
AutocompleteAddressHighlights.Builder subDistrict(Highlight... subDistrict)
Indicates the starting and ending index of the title in the text query that match the found title.
- Parameters:
subDistrict- Indicates the starting and ending index of the title in the text query that match the found title.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subDistrict
AutocompleteAddressHighlights.Builder subDistrict(Consumer<Highlight.Builder>... subDistrict)
Indicates the starting and ending index of the title in the text query that match the found title.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subDistrict(List.) - Parameters:
subDistrict- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subDistrict(java.util.Collection)
-
street
AutocompleteAddressHighlights.Builder street(Collection<Highlight> street)
The name of the street results should be present in.
- Parameters:
street- The name of the street results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
street
AutocompleteAddressHighlights.Builder street(Highlight... street)
The name of the street results should be present in.
- Parameters:
street- The name of the street results should be present in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
street
AutocompleteAddressHighlights.Builder street(Consumer<Highlight.Builder>... street)
The name of the street results should be present in.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#street(List.) - Parameters:
street- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#street(java.util.Collection)
-
block
AutocompleteAddressHighlights.Builder block(Collection<Highlight> block)
Name of the block. Example: Sunny Mansion 203 block: 2 Chome
- Parameters:
block- Name of the block. Example: Sunny Mansion 203 block: 2 Chome- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
block
AutocompleteAddressHighlights.Builder block(Highlight... block)
Name of the block. Example: Sunny Mansion 203 block: 2 Chome
- Parameters:
block- Name of the block. Example: Sunny Mansion 203 block: 2 Chome- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
block
AutocompleteAddressHighlights.Builder block(Consumer<Highlight.Builder>... block)
Name of the block. Example: Sunny Mansion 203 block: 2 Chome
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#block(List.) - Parameters:
block- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#block(java.util.Collection)
-
subBlock
AutocompleteAddressHighlights.Builder subBlock(Collection<Highlight> subBlock)
Name of sub-block. Example Sunny Mansion 203 sub-block: 4
- Parameters:
subBlock- Name of sub-block. Example Sunny Mansion 203 sub-block: 4- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subBlock
AutocompleteAddressHighlights.Builder subBlock(Highlight... subBlock)
Name of sub-block. Example Sunny Mansion 203 sub-block: 4
- Parameters:
subBlock- Name of sub-block. Example Sunny Mansion 203 sub-block: 4- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subBlock
AutocompleteAddressHighlights.Builder subBlock(Consumer<Highlight.Builder>... subBlock)
Name of sub-block. Example Sunny Mansion 203 sub-block: 4
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subBlock(List.) - Parameters:
subBlock- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#subBlock(java.util.Collection)
-
intersection
AutocompleteAddressHighlights.Builder intersection(Collection<? extends Collection<Highlight>> intersection)
Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]
- Parameters:
intersection- Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intersection
AutocompleteAddressHighlights.Builder intersection(Collection<Highlight>... intersection)
Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]
- Parameters:
intersection- Name of the streets in the intersection. For example: e.g. ["Friedrichstraße","Unter den Linden"]- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
AutocompleteAddressHighlights.Builder postalCode(Collection<Highlight> postalCode)
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.
- Parameters:
postalCode- An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
AutocompleteAddressHighlights.Builder postalCode(Highlight... postalCode)
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.
- Parameters:
postalCode- An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
postalCode
AutocompleteAddressHighlights.Builder postalCode(Consumer<Highlight.Builder>... postalCode)
An alphanumeric string included in a postal address to facilitate mail sorting, such as post code, postcode, or ZIP code for which the result should posses.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#postalCode(List.) - Parameters:
postalCode- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#postalCode(java.util.Collection)
-
addressNumber
AutocompleteAddressHighlights.Builder addressNumber(Collection<Highlight> addressNumber)
The house number or address results should have.
- Parameters:
addressNumber- The house number or address results should have.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressNumber
AutocompleteAddressHighlights.Builder addressNumber(Highlight... addressNumber)
The house number or address results should have.
- Parameters:
addressNumber- The house number or address results should have.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addressNumber
AutocompleteAddressHighlights.Builder addressNumber(Consumer<Highlight.Builder>... addressNumber)
The house number or address results should have.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#addressNumber(List.) - Parameters:
addressNumber- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#addressNumber(java.util.Collection)
-
building
AutocompleteAddressHighlights.Builder building(Collection<Highlight> building)
The name of the building at the address.
- Parameters:
building- The name of the building at the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
building
AutocompleteAddressHighlights.Builder building(Highlight... building)
The name of the building at the address.
- Parameters:
building- The name of the building at the address.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
building
AutocompleteAddressHighlights.Builder building(Consumer<Highlight.Builder>... building)
The name of the building at the address.
This is a convenience method that creates an instance of theHighlight.Builderavoiding the need to create one manually viaHighlight.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#building(List.) - Parameters:
building- a consumer that will call methods onHighlight.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#building(java.util.Collection)
-
-