Interface PhoneNumberInformation.Builder

    • Method Detail

      • createdAt

        PhoneNumberInformation.Builder createdAt​(Instant createdAt)

        The date and time when the phone number was created.

        Parameters:
        createdAt - The date and time when the phone number was created.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumber

        PhoneNumberInformation.Builder phoneNumber​(String phoneNumber)

        The phone number.

        Parameters:
        phoneNumber - The phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        PhoneNumberInformation.Builder status​(String status)

        The status of the phone number.

        Parameters:
        status - The status of the phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • iso2CountryCode

        PhoneNumberInformation.Builder iso2CountryCode​(String iso2CountryCode)

        The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

        Parameters:
        iso2CountryCode - The two-character code for the country or region, in ISO 3166-1 alpha-2 format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • routeType

        PhoneNumberInformation.Builder routeType​(String routeType)

        The list of supported routes.

        Parameters:
        routeType - The list of supported routes.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RouteType, RouteType
      • numberCapabilitiesWithStrings

        PhoneNumberInformation.Builder numberCapabilitiesWithStrings​(Collection<String> numberCapabilities)

        The capabilities of each phone number.

        Parameters:
        numberCapabilities - The capabilities of each phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberCapabilitiesWithStrings

        PhoneNumberInformation.Builder numberCapabilitiesWithStrings​(String... numberCapabilities)

        The capabilities of each phone number.

        Parameters:
        numberCapabilities - The capabilities of each phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberCapabilities

        PhoneNumberInformation.Builder numberCapabilities​(Collection<NumberCapability> numberCapabilities)

        The capabilities of each phone number.

        Parameters:
        numberCapabilities - The capabilities of each phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numberCapabilities

        PhoneNumberInformation.Builder numberCapabilities​(NumberCapability... numberCapabilities)

        The capabilities of each phone number.

        Parameters:
        numberCapabilities - The capabilities of each phone number.
        Returns:
        Returns a reference to this object so that method calls can be chained together.