Interface Address.Builder

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

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

    • 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.