Interface StreetComponents.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<StreetComponents.Builder,StreetComponents>,SdkBuilder<StreetComponents.Builder,StreetComponents>,SdkPojo
- Enclosing class:
- StreetComponents
public static interface StreetComponents.Builder extends SdkPojo, CopyableBuilder<StreetComponents.Builder,StreetComponents>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreetComponents.BuilderbaseName(String baseName)Base name part of the street name.StreetComponents.Builderdirection(String direction)Indicates the official directional identifiers assigned to highways.StreetComponents.Builderlanguage(String language)A BCP 47 compliant language codes for the results to be rendered in.StreetComponents.Builderprefix(String prefix)A prefix is a directional identifier that precedes, but is not included in, the base name of a road.StreetComponents.Buildersuffix(String suffix)A suffix is a directional identifier that follows, but is not included in, the base name of a road.StreetComponents.Buildertype(String type)Street type part of the street name.StreetComponents.BuildertypePlacement(String typePlacement)Defines if the street type is before or after the base name.StreetComponents.BuildertypePlacement(TypePlacement typePlacement)Defines if the street type is before or after the base name.StreetComponents.BuildertypeSeparator(String typeSeparator)What character(s) separates the string from its type.-
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
-
baseName
StreetComponents.Builder baseName(String baseName)
Base name part of the street name.
Example: Younge from the “Younge street".
- Parameters:
baseName- Base name part of the street name.Example: Younge from the “Younge street".
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
StreetComponents.Builder type(String type)
Street type part of the street name.
Example:
“avenue".- Parameters:
type- Street type part of the street name.Example:
“avenue".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
typePlacement
StreetComponents.Builder typePlacement(String typePlacement)
Defines if the street type is before or after the base name.
- Parameters:
typePlacement- Defines if the street type is before or after the base name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TypePlacement,TypePlacement
-
typePlacement
StreetComponents.Builder typePlacement(TypePlacement typePlacement)
Defines if the street type is before or after the base name.
- Parameters:
typePlacement- Defines if the street type is before or after the base name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TypePlacement,TypePlacement
-
typeSeparator
StreetComponents.Builder typeSeparator(String typeSeparator)
What character(s) separates the string from its type.
- Parameters:
typeSeparator- What character(s) separates the string from its type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
StreetComponents.Builder prefix(String prefix)
A prefix is a directional identifier that precedes, but is not included in, the base name of a road.
Example: E for East.
- Parameters:
prefix- A prefix is a directional identifier that precedes, but is not included in, the base name of a road.Example: E for East.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
suffix
StreetComponents.Builder suffix(String suffix)
A suffix is a directional identifier that follows, but is not included in, the base name of a road.
Example W for West.
- Parameters:
suffix- A suffix is a directional identifier that follows, but is not included in, the base name of a road.Example W for West.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
direction
StreetComponents.Builder direction(String direction)
Indicates the official directional identifiers assigned to highways.
- Parameters:
direction- Indicates the official directional identifiers assigned to highways.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
language
StreetComponents.Builder language(String language)
A BCP 47 compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.
- Parameters:
language- A BCP 47 compliant language codes for the results to be rendered in. If there is no data for the result in the requested language, data will be returned in the default language for the entry.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-