public ListApiDestinationsResult withApiDestinations(ApiDestination... apiDestinations) {
        if (this.apiDestinations == null) {
            setApiDestinations(new java.util.ArrayList<ApiDestination>(apiDestinations.length));
        }
        for (ApiDestination ele : apiDestinations) {
            this.apiDestinations.add(ele);
        }
        return this;
    }
<p>
An array of <code>ApiDestination</code> objects that include information about an API destination.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setApiDestinations(java.util.Collection)} or {@link #withApiDestinations(java.util.Collection)} if you
want to override the existing values.
</p>

@param apiDestinations
       An array of <code>ApiDestination</code> objects that include information about an API destination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-events/src/main/java/com/amazonaws/services/cloudwatchevents/model/ListApiDestinationsResult.java