Interface Address.Builder

    • Method Detail

      • streetName

        Address.Builder streetName​(String streetName)

        The address street, such as 8th Avenue.

        Parameters:
        streetName - The address street, such as 8th Avenue.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streetSuffix

        Address.Builder streetSuffix​(String streetSuffix)

        The address suffix, such as the N in 8th Avenue N.

        Parameters:
        streetSuffix - The address suffix, such as the N in 8th Avenue N.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postDirectional

        Address.Builder postDirectional​(String postDirectional)

        An address suffix location, such as the S. Unit A in Central Park S. Unit A.

        Parameters:
        postDirectional - An address suffix location, such as the S. Unit A in Central Park S. Unit A.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preDirectional

        Address.Builder preDirectional​(String preDirectional)

        An address prefix location, such as the N in N. Third St.

        Parameters:
        preDirectional - An address prefix location, such as the N in N. Third St.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • streetNumber

        Address.Builder streetNumber​(String streetNumber)

        The numeric portion of an address.

        Parameters:
        streetNumber - The numeric portion of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • city

        Address.Builder city​(String city)

        The city of an address.

        Parameters:
        city - The city of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        Address.Builder state​(String state)

        The state of an address.

        Parameters:
        state - The state of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postalCode

        Address.Builder postalCode​(String postalCode)

        The postal code of an address.

        Parameters:
        postalCode - The postal code of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • postalCodePlus4

        Address.Builder postalCodePlus4​(String postalCodePlus4)

        The zip + 4 or postal code + 4 of an address.

        Parameters:
        postalCodePlus4 - The zip + 4 or postal code + 4 of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • country

        Address.Builder country​(String country)

        The country of an address.

        Parameters:
        country - The country of an address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.