public CreateSourceLocationRequest withSegmentDeliveryConfigurations(SegmentDeliveryConfiguration... segmentDeliveryConfigurations) {
        if (this.segmentDeliveryConfigurations == null) {
            setSegmentDeliveryConfigurations(new java.util.ArrayList<SegmentDeliveryConfiguration>(segmentDeliveryConfigurations.length));
        }
        for (SegmentDeliveryConfiguration ele : segmentDeliveryConfigurations) {
            this.segmentDeliveryConfigurations.add(ele);
        }
        return this;
    }
<p>
A list of the segment delivery configurations associated with this resource.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSegmentDeliveryConfigurations(java.util.Collection)} or
{@link #withSegmentDeliveryConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param segmentDeliveryConfigurations
       A list of the segment delivery configurations associated with this resource.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediatailor/src/main/java/com/amazonaws/services/mediatailor/model/CreateSourceLocationRequest.java