public EncoderSettings withCaptionDescriptions(CaptionDescription... captionDescriptions) {
        if (this.captionDescriptions == null) {
            setCaptionDescriptions(new java.util.ArrayList<CaptionDescription>(captionDescriptions.length));
        }
        for (CaptionDescription ele : captionDescriptions) {
            this.captionDescriptions.add(ele);
        }
        return this;
    }
Settings for caption decriptions
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setCaptionDescriptions(java.util.Collection)} or {@link #withCaptionDescriptions(java.util.Collection)}
if you want to override the existing values.
</p>

@param captionDescriptions
       Settings for caption decriptions
@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/EncoderSettings.java