Interface Address.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Address.Builder,Address>, SdkBuilder<Address.Builder,Address>, SdkPojo
Enclosing class:
Address

@Mutable @NotThreadSafe public static interface Address.Builder extends SdkPojo, CopyableBuilder<Address.Builder,Address>
  • Method Details

    • city

      Address.Builder city(String city)

      The city or locality.

      Parameters:
      city - The city or locality.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateOrRegion

      Address.Builder stateOrRegion(String stateOrRegion)

      The state, province, or prefecture.

      Parameters:
      stateOrRegion - The state, province, or prefecture.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • postalCode

      Address.Builder postalCode(String postalCode)

      The postal code.

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

      Address.Builder countryCode(String countryCode)

      The two-letter ISO 3166-1 country code.

      Parameters:
      countryCode - The two-letter ISO 3166-1 country code.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • addressLine

      Address.Builder addressLine(String addressLine)

      The first line of the street address.

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

      Address.Builder addressLine2(String addressLine2)

      The second line of the street address.

      Parameters:
      addressLine2 - The second line of the street address.
      Returns:
      Returns a reference to this object so that method calls can be chained together.