public ListPortalsResult withPortals(java.util.Collection<PortalSummary> portals) {
        setPortals(portals);
        return this;
    }
<p>
The portals in the list.
</p>

@param portals
       The portals in the list.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/ListPortalsResult.java