Interface ListPhoneNumbersRequest.Builder

    • Method Detail

      • instanceId

        ListPhoneNumbersRequest.Builder instanceId​(String instanceId)

        The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

        Parameters:
        instanceId - The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberTypesWithStrings

        ListPhoneNumbersRequest.Builder phoneNumberTypesWithStrings​(Collection<String> phoneNumberTypes)

        The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Parameters:
        phoneNumberTypes - The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberTypesWithStrings

        ListPhoneNumbersRequest.Builder phoneNumberTypesWithStrings​(String... phoneNumberTypes)

        The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Parameters:
        phoneNumberTypes - The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberTypes

        ListPhoneNumbersRequest.Builder phoneNumberTypes​(Collection<PhoneNumberType> phoneNumberTypes)

        The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Parameters:
        phoneNumberTypes - The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberTypes

        ListPhoneNumbersRequest.Builder phoneNumberTypes​(PhoneNumberType... phoneNumberTypes)

        The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Parameters:
        phoneNumberTypes - The type of phone number.

        We recommend using ListPhoneNumbersV2 to return phone number types. While ListPhoneNumbers returns number types UIFN, SHARED, THIRD_PARTY_TF, and THIRD_PARTY_DID, it incorrectly lists them as TOLL_FREE or DID.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberCountryCodesWithStrings

        ListPhoneNumbersRequest.Builder phoneNumberCountryCodesWithStrings​(Collection<String> phoneNumberCountryCodes)

        The ISO country code.

        Parameters:
        phoneNumberCountryCodes - The ISO country code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberCountryCodesWithStrings

        ListPhoneNumbersRequest.Builder phoneNumberCountryCodesWithStrings​(String... phoneNumberCountryCodes)

        The ISO country code.

        Parameters:
        phoneNumberCountryCodes - The ISO country code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberCountryCodes

        ListPhoneNumbersRequest.Builder phoneNumberCountryCodes​(Collection<PhoneNumberCountryCode> phoneNumberCountryCodes)

        The ISO country code.

        Parameters:
        phoneNumberCountryCodes - The ISO country code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberCountryCodes

        ListPhoneNumbersRequest.Builder phoneNumberCountryCodes​(PhoneNumberCountryCode... phoneNumberCountryCodes)

        The ISO country code.

        Parameters:
        phoneNumberCountryCodes - The ISO country code.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        ListPhoneNumbersRequest.Builder nextToken​(String nextToken)

        The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.

        Parameters:
        nextToken - The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        ListPhoneNumbersRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per page. The default MaxResult size is 100.

        Parameters:
        maxResults - The maximum number of results to return per page. The default MaxResult size is 100.
        Returns:
        Returns a reference to this object so that method calls can be chained together.