public ListRootsResult withRoots(Root... roots) {
        if (this.roots == null) {
            setRoots(new java.util.ArrayList<Root>(roots.length));
        }
        for (Root ele : roots) {
            this.roots.add(ele);
        }
        return this;
    }
<p>
A list of roots that are defined in an organization.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRoots(java.util.Collection)} or {@link #withRoots(java.util.Collection)} if you want to override the
existing values.
</p>

@param roots
       A list of roots that are defined in an organization.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-organizations/src/main/java/com/amazonaws/services/organizations/model/ListRootsResult.java