Interface DescribeOptedOutNumbersRequest.Builder

    • Method Detail

      • optOutListName

        DescribeOptedOutNumbersRequest.Builder optOutListName​(String optOutListName)

        The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.

        If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).

        Parameters:
        optOutListName - The OptOutListName or OptOutListArn of the OptOutList. You can use DescribeOptOutLists to find the values for OptOutListName and OptOutListArn.

        If you are using a shared AWS End User Messaging SMS and Voice resource then you must use the full Amazon Resource Name(ARN).

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

        DescribeOptedOutNumbersRequest.Builder optedOutNumbers​(Collection<String> optedOutNumbers)

        An array of phone numbers to search for in the OptOutList.

        If you specify an opted out number that isn't valid, an exception is returned.

        Parameters:
        optedOutNumbers - An array of phone numbers to search for in the OptOutList.

        If you specify an opted out number that isn't valid, an exception is returned.

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

        DescribeOptedOutNumbersRequest.Builder optedOutNumbers​(String... optedOutNumbers)

        An array of phone numbers to search for in the OptOutList.

        If you specify an opted out number that isn't valid, an exception is returned.

        Parameters:
        optedOutNumbers - An array of phone numbers to search for in the OptOutList.

        If you specify an opted out number that isn't valid, an exception is returned.

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

        DescribeOptedOutNumbersRequest.Builder filters​(Collection<OptedOutFilter> filters)

        An array of OptedOutFilter objects to filter the results on.

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

        DescribeOptedOutNumbersRequest.Builder filters​(OptedOutFilter... filters)

        An array of OptedOutFilter objects to filter the results on.

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

        DescribeOptedOutNumbersRequest.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

        DescribeOptedOutNumbersRequest.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.