public DescribeDeliverySourcesResult withDeliverySources(DeliverySource... deliverySources) {
        if (this.deliverySources == null) {
            setDeliverySources(new com.amazonaws.internal.SdkInternalList<DeliverySource>(deliverySources.length));
        }
        for (DeliverySource ele : deliverySources) {
            this.deliverySources.add(ele);
        }
        return this;
    }
<p>
An array of structures. Each structure contains information about one delivery source in the account.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDeliverySources(java.util.Collection)} or {@link #withDeliverySources(java.util.Collection)} if you
want to override the existing values.
</p>

@param deliverySources
       An array of structures. Each structure contains information about one delivery source in the account.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/DescribeDeliverySourcesResult.java