public DescribePoolsResult withPools(java.util.Collection<PoolInformation> pools) {
        setPools(pools);
        return this;
    }
<p>
An array of PoolInformation objects that contain the details for the requested pools.
</p>

@param pools
       An array of PoolInformation objects that contain the details for the requested pools.
@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/DescribePoolsResult.java