Interface StreetComponents.Builder

  • Method Details

    • 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

      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

      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:
    • typeSeparator

      StreetComponents.Builder typeSeparator(String typeSeparator)

      Defines a separator character such as "" or " " between the base name and type.

      Parameters:
      typeSeparator - Defines a separator character such as "" or " " between the base name and type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      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.