public Output withCaptionDescriptionNames(String... captionDescriptionNames) {
        if (this.captionDescriptionNames == null) {
            setCaptionDescriptionNames(new java.util.ArrayList<String>(captionDescriptionNames.length));
        }
        for (String ele : captionDescriptionNames) {
            this.captionDescriptionNames.add(ele);
        }
        return this;
    }
The names of the CaptionDescriptions used as caption sources for this output.
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCaptionDescriptionNames(java.util.Collection)} or
{@link #withCaptionDescriptionNames(java.util.Collection)} if you want to override the existing values.
</p>

@param captionDescriptionNames
       The names of the CaptionDescriptions used as caption sources for this output.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/Output.java