Interface SearchAvailablePhoneNumbersRequest.Builder

  • Method Details

    • 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

      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

      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

      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

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

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

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.