code: public CmafPackageCreateOrUpdateParameters withHlsManifests(HlsManifestCreateOrUpdateParameters... hlsManifests) {
          if (this.hlsManifests == null) {
              setHlsManifests(new java.util.ArrayList<HlsManifestCreateOrUpdateParameters>(hlsManifests.length));
          }
          for (HlsManifestCreateOrUpdateParameters ele : hlsManifests) {
              this.hlsManifests.add(ele);
          }
          return this;
      }
docs: A list of HLS manifest configurations
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setHlsManifests(java.util.Collection)} or {@link #withHlsManifests(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param hlsManifests
  A list of HLS manifest configurations
  @return Returns a reference to this object so that method calls can be chained together.