Interface DescribePhoneNumbersRequest.Builder

    • Method Detail

      • phoneNumberIds

        DescribePhoneNumbersRequest.Builder phoneNumberIds​(Collection<String> phoneNumberIds)

        The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.

        Parameters:
        phoneNumberIds - The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • phoneNumberIds

        DescribePhoneNumbersRequest.Builder phoneNumberIds​(String... phoneNumberIds)

        The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.

        Parameters:
        phoneNumberIds - The unique identifier of phone numbers to find information about. This is an array of strings that can be either the PhoneNumberId or PhoneNumberArn.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribePhoneNumbersRequest.Builder filters​(Collection<PhoneNumberFilter> filters)

        An array of PhoneNumberFilter objects to filter the results.

        Parameters:
        filters - An array of PhoneNumberFilter objects to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        DescribePhoneNumbersRequest.Builder filters​(PhoneNumberFilter... filters)

        An array of PhoneNumberFilter objects to filter the results.

        Parameters:
        filters - An array of PhoneNumberFilter objects to filter the results.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nextToken

        DescribePhoneNumbersRequest.Builder nextToken​(String nextToken)

        The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.

        Parameters:
        nextToken - The token to be used for the next set of paginated results. You don't need to supply a value for this field in the initial request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxResults

        DescribePhoneNumbersRequest.Builder maxResults​(Integer maxResults)

        The maximum number of results to return per each request.

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