Interface PhoneNumberOrder.Builder

    • Method Detail

      • phoneNumberOrderId

        PhoneNumberOrder.Builder phoneNumberOrderId​(String phoneNumberOrderId)

        The ID of the phone order.

        Parameters:
        phoneNumberOrderId - The ID of the phone order.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderType

        PhoneNumberOrder.Builder orderType​(String orderType)

        The type of phone number being ordered, local or toll-free.

        Parameters:
        orderType - The type of phone number being ordered, local or toll-free.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhoneNumberOrderType, PhoneNumberOrderType
      • orderedPhoneNumbers

        PhoneNumberOrder.Builder orderedPhoneNumbers​(Collection<OrderedPhoneNumber> orderedPhoneNumbers)

        The ordered phone number details, such as the phone number in E.164 format and the phone number status.

        Parameters:
        orderedPhoneNumbers - The ordered phone number details, such as the phone number in E.164 format and the phone number status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • orderedPhoneNumbers

        PhoneNumberOrder.Builder orderedPhoneNumbers​(OrderedPhoneNumber... orderedPhoneNumbers)

        The ordered phone number details, such as the phone number in E.164 format and the phone number status.

        Parameters:
        orderedPhoneNumbers - The ordered phone number details, such as the phone number in E.164 format and the phone number status.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • createdTimestamp

        PhoneNumberOrder.Builder createdTimestamp​(Instant createdTimestamp)

        The phone number order creation time stamp, in ISO 8601 format.

        Parameters:
        createdTimestamp - The phone number order creation time stamp, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • updatedTimestamp

        PhoneNumberOrder.Builder updatedTimestamp​(Instant updatedTimestamp)

        The updated phone number order time stamp, in ISO 8601 format.

        Parameters:
        updatedTimestamp - The updated phone number order time stamp, in ISO 8601 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.