public UpdateFlowSourceRequest withMediaStreamSourceConfigurations(MediaStreamSourceConfigurationRequest... mediaStreamSourceConfigurations) {
        if (this.mediaStreamSourceConfigurations == null) {
            setMediaStreamSourceConfigurations(new java.util.ArrayList<MediaStreamSourceConfigurationRequest>(mediaStreamSourceConfigurations.length));
        }
        for (MediaStreamSourceConfigurationRequest ele : mediaStreamSourceConfigurations) {
            this.mediaStreamSourceConfigurations.add(ele);
        }
        return this;
    }
The media streams that are associated with the source, and the parameters for those associations.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMediaStreamSourceConfigurations(java.util.Collection)} or
{@link #withMediaStreamSourceConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param mediaStreamSourceConfigurations
       The media streams that are associated with the source, and the parameters for those associations.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediaconnect/src/main/java/com/amazonaws/services/mediaconnect/model/UpdateFlowSourceRequest.java