public DescribePoolsRequest withPoolIds(String... poolIds) {
        if (this.poolIds == null) {
            setPoolIds(new java.util.ArrayList<String>(poolIds.length));
        }
        for (String ele : poolIds) {
            this.poolIds.add(ele);
        }
        return this;
    }
<p>
The unique identifier of pools to find. This is an array of strings that can be either the PoolId or PoolArn.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setPoolIds(java.util.Collection)} or {@link #withPoolIds(java.util.Collection)} if you want to override
the existing values.
</p>

@param poolIds
       The unique identifier of pools to find. This is an array of strings that can be either the PoolId or
       PoolArn.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/DescribePoolsRequest.java