public ListTapePoolsResult withPoolInfos(java.util.Collection<PoolInfo> poolInfos) {
        setPoolInfos(poolInfos);
        return this;
    }
<p>
An array of <code>PoolInfo</code> objects, where each object describes a single custom tape pool. If there are no
custom tape pools, the <code>PoolInfos</code> is an empty array.
</p>

@param poolInfos
       An array of <code>PoolInfo</code> objects, where each object describes a single custom tape pool. If there
       are no custom tape pools, the <code>PoolInfos</code> is an empty array.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-storagegateway/src/main/java/com/amazonaws/services/storagegateway/model/ListTapePoolsResult.java