Interface SearchAvailablePhoneNumbersRequest.Builder

    • Method Detail

      • areaCode

        SearchAvailablePhoneNumbersRequest.Builder areaCode​(String areaCode)

        Confines a search to just the phone numbers associated with the specified area code.

        Parameters:
        areaCode - Confines a search to just the phone numbers associated with the specified area code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • city

        SearchAvailablePhoneNumbersRequest.Builder city​(String city)

        Confines a search to just the phone numbers associated with the specified city.

        Parameters:
        city - Confines a search to just the phone numbers associated with the specified city.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • country

        SearchAvailablePhoneNumbersRequest.Builder country​(String country)

        Confines a search to just the phone numbers associated with the specified country.

        Parameters:
        country - Confines a search to just the phone numbers associated with the specified country.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • state

        SearchAvailablePhoneNumbersRequest.Builder state​(String state)

        Confines a search to just the phone numbers associated with the specified state.

        Parameters:
        state - Confines a search to just the phone numbers associated with the specified state.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tollFreePrefix

        SearchAvailablePhoneNumbersRequest.Builder tollFreePrefix​(String tollFreePrefix)

        Confines a search to just the phone numbers associated with the specified toll-free prefix.

        Parameters:
        tollFreePrefix - Confines a search to just the phone numbers associated with the specified toll-free prefix.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberType

        SearchAvailablePhoneNumbersRequest.Builder phoneNumberType​(String phoneNumberType)

        Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.

        Parameters:
        phoneNumberType - Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhoneNumberType, PhoneNumberType
      • phoneNumberType

        SearchAvailablePhoneNumbersRequest.Builder phoneNumberType​(PhoneNumberType phoneNumberType)

        Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.

        Parameters:
        phoneNumberType - Confines a search to just the phone numbers associated with the specified phone number type, either local or toll-free.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        PhoneNumberType, PhoneNumberType
      • maxResults

        SearchAvailablePhoneNumbersRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return.

        Parameters:
        maxResults - The maximum number of results to return.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        SearchAvailablePhoneNumbersRequest.Builder nextToken​(String nextToken)

        The token used to return the next page of results.

        Parameters:
        nextToken - The token used to return the next page of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.