Class UploadManifestOptions

java.lang.Object
com.azure.containers.containerregistry.models.UploadManifestOptions

public final class UploadManifestOptions extends Object
Options for configuring the upload manifest operation.
  • Constructor Details

    • UploadManifestOptions

      public UploadManifestOptions(OciImageManifest ociManifest)
      Instantiate an instance of upload manifest options with the ocimanifest information.
      Parameters:
      ociManifest - The Oci manifest.
    • UploadManifestOptions

      public UploadManifestOptions(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType)
      Instantiate an instance of upload manifest options with the manifest information.
      Parameters:
      manifest - The manifest that needs to be uploaded.
      manifestMediaType - The media type of supplied manifest.
  • Method Details

    • setTag

      public UploadManifestOptions setTag(String tag)
      A tag to assign to the artifact represented by this manifest.
      Parameters:
      tag - The tag of the manifest.
      Returns:
      The UploadManifestOptions object.
    • getTag

      public String getTag()
      The tag assigned to the artifact represented by this manifest.
      Returns:
      The tag of the manifest.
    • getManifest

      public com.azure.core.util.BinaryData getManifest()
      The manifest to be uploaded.
      Returns:
      The BinaryData representing the manifest.
    • getMediaType

      public ManifestMediaType getMediaType()
      Media type of the corresponding manifest.
      Returns:
      instance of ManifestMediaType.