Interface PhoneNumber.Builder

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

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

    • value

      A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".

      Parameters:
      value - A string containing a phone number. For example, "8675309" or "+1 (800) 123-4567".
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • type

      A string representing the type of a phone number. For example, "Mobile."

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

      PhoneNumber.Builder primary(Boolean primary)

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

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