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

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