Interface Address.Builder

    • Method Detail

      • streetAddress

        Address.Builder streetAddress​(String streetAddress)

        The street of the address.

        Parameters:
        streetAddress - The street of the address.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • locality

        Address.Builder locality​(String locality)

        A string of the address locality.

        Parameters:
        locality - A string of the address locality.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • region

        Address.Builder region​(String region)

        The region of the address.

        Parameters:
        region - The region of the 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 the address.

        Parameters:
        postalCode - The postal code of the 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 the address.

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

        Address.Builder formatted​(String formatted)

        A string containing a formatted version of the address for display.

        Parameters:
        formatted - A string containing a formatted version of the address for display.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        Address.Builder type​(String type)

        A string representing the type of address. For example, "Home."

        Parameters:
        type - A string representing the type of address. For example, "Home."
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • primary

        Address.Builder primary​(Boolean primary)

        A Boolean value representing whether this is the primary address for the associated resource.

        Parameters:
        primary - A Boolean value representing whether this is the primary address for the associated resource.
        Returns:
        Returns a reference to this object so that method calls can be chained together.