code: @Deprecated
      public Captions withCaptionSources(CaptionSource... captionSources) {
          if (this.captionSources == null) {
              setCaptionSources(new com.amazonaws.internal.SdkInternalList<CaptionSource>(captionSources.length));
          }
          for (CaptionSource ele : captionSources) {
              this.captionSources.add(ele);
          }
          return this;
      }
docs: <p>
  Source files for the input sidecar captions used during the transcoding process. To omit all sidecar captions,
  leave <code>CaptionSources</code> blank.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setCaptionSources(java.util.Collection)} or {@link #withCaptionSources(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param captionSources
  Source files for the input sidecar captions used during the transcoding process. To omit all sidecar
  captions, leave <code>CaptionSources</code> blank.
  @return Returns a reference to this object so that method calls can be chained together.