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(BinaryData manifest)
      Instantiate an instance of upload manifest options with the manifest information.
      Parameters:
      manifest - The manifest that needs to be uploaded.
    • UploadManifestOptions

      public UploadManifestOptions(OciManifest ociManifest)
      Instantiate an instance of upload manifest options with the ocimanifest information.
      Parameters:
      ociManifest - The Oci 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 BinaryData getManifest()
      The manifest to be uploaded.
      Returns:
      The BinaryData representing the manifest.