public void setPortals(java.util.Collection<PortalSummary> portals) {
        if (portals == null) {
            this.portals = null;
            return;
        }

        this.portals = new java.util.ArrayList<PortalSummary>(portals);
    }
<p>
The portals in the list.
</p>

@param portals
       The portals in the list.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/ListPortalsResult.java