Class SetManifestOptions

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

public final class SetManifestOptions extends Object
Set manifest options.
  • Constructor Details

    • SetManifestOptions

      public SetManifestOptions(OciImageManifest ociImageManifest)
      Creates new instance of SetManifestOptions
      Parameters:
      ociImageManifest - Instance of OciImageManifest to be set on the service.
    • SetManifestOptions

      public SetManifestOptions(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType)
      Creates new instance of SetManifestOptions
      Parameters:
      manifest - The manifest to set.
      manifestMediaType - The media type of supplied manifest.
  • Method Details

    • setTag

      public SetManifestOptions setTag(String tag)
      A tag to assign to the artifact represented by this manifest.
      Parameters:
      tag - Tag to be set on the manifest when sending it.
      Returns:
      The SetManifestOptions object for chaining.
    • 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 sent to the service.
      Returns:
      The BinaryData representing the manifest.
    • getManifestMediaType

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