code: public java.util.List<CaptionFormat> getCaptionFormats() {
          if (captionFormats == null) {
              captionFormats = new com.amazonaws.internal.SdkInternalList<CaptionFormat>();
          }
          return captionFormats;
      }
docs: <p>
  The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder returns an
  error.
  </p>
  
  @return The array of file formats for the output captions. If you leave this value blank, Elastic Transcoder
  returns an error.