public GetSitesResult withSites(Site... sites) {
        if (this.sites == null) {
            setSites(new java.util.ArrayList<Site>(sites.length));
        }
        for (Site ele : sites) {
            this.sites.add(ele);
        }
        return this;
    }
<p>
The sites.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSites(java.util.Collection)} or {@link #withSites(java.util.Collection)} if you want to override the
existing values.
</p>

@param sites
       The sites.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-networkmanager/src/main/java/com/amazonaws/services/networkmanager/model/GetSitesResult.java