code: public void setAcceptedMediaTypes(java.util.Collection<String> acceptedMediaTypes) {
          if (acceptedMediaTypes == null) {
              this.acceptedMediaTypes = null;
              return;
          }
  
          this.acceptedMediaTypes = new java.util.ArrayList<String>(acceptedMediaTypes);
      }
docs: <p>
  The accepted media types for the request.
  </p>
  <p>
  Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
  <code>application/vnd.docker.distribution.manifest.v2+json</code> |
  <code>application/vnd.oci.image.manifest.v1+json</code>
  </p>
  
  @param acceptedMediaTypes
  The accepted media types for the request.</p>
  <p>
  Valid values: <code>application/vnd.docker.distribution.manifest.v1+json</code> |
  <code>application/vnd.docker.distribution.manifest.v2+json</code> |
  <code>application/vnd.oci.image.manifest.v1+json</code>