public ListRoomsResult withRooms(RoomSummary... rooms) {
        if (this.rooms == null) {
            setRooms(new java.util.ArrayList<RoomSummary>(rooms.length));
        }
        for (RoomSummary ele : rooms) {
            this.rooms.add(ele);
        }
        return this;
    }
<p>
List of the matching rooms (summary information only).
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRooms(java.util.Collection)} or {@link #withRooms(java.util.Collection)} if you want to override the
existing values.
</p>

@param rooms
       List of the matching rooms (summary information only).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ivschat/src/main/java/com/amazonaws/services/ivschat/model/ListRoomsResult.java