public Output withMediaStreamOutputConfigurations(MediaStreamOutputConfiguration... mediaStreamOutputConfigurations) {
        if (this.mediaStreamOutputConfigurations == null) {
            setMediaStreamOutputConfigurations(new java.util.ArrayList<MediaStreamOutputConfiguration>(mediaStreamOutputConfigurations.length));
        }
        for (MediaStreamOutputConfiguration ele : mediaStreamOutputConfigurations) {
            this.mediaStreamOutputConfigurations.add(ele);
        }
        return this;
    }
The configuration for each media stream that is associated with the output.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setMediaStreamOutputConfigurations(java.util.Collection)} or
{@link #withMediaStreamOutputConfigurations(java.util.Collection)} if you want to override the existing values.
</p>

@param mediaStreamOutputConfigurations
       The configuration for each media stream that is associated with the output.
@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/Output.java