public ListCampaignsResult withCampaigns(CampaignSummary... campaigns) {
        if (this.campaigns == null) {
            setCampaigns(new java.util.ArrayList<CampaignSummary>(campaigns.length));
        }
        for (CampaignSummary ele : campaigns) {
            this.campaigns.add(ele);
        }
        return this;
    }
<p>
A list of the campaigns.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCampaigns(java.util.Collection)} or {@link #withCampaigns(java.util.Collection)} if you want to
override the existing values.
</p>

@param campaigns
       A list of the campaigns.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/ListCampaignsResult.java