Class SetManifestOptions
java.lang.Object
com.azure.containers.containerregistry.models.SetManifestOptions
Set manifest options.
-
Constructor Summary
ConstructorsConstructorDescriptionSetManifestOptions(OciImageManifest ociImageManifest) Creates new instance ofSetManifestOptionsSetManifestOptions(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType) Creates new instance ofSetManifestOptions -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.BinaryDataThe manifest to be sent to the service.Media type of the corresponding manifest.getTag()The tag assigned to the artifact represented by this manifest.A tag to assign to the artifact represented by this manifest.
-
Constructor Details
-
SetManifestOptions
Creates new instance ofSetManifestOptions- Parameters:
ociImageManifest- Instance ofOciImageManifestto be set on the service.
-
SetManifestOptions
public SetManifestOptions(com.azure.core.util.BinaryData manifest, ManifestMediaType manifestMediaType) Creates new instance ofSetManifestOptions- Parameters:
manifest- The manifest to set.manifestMediaType- The media type of supplied manifest.
-
-
Method Details
-
setTag
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
SetManifestOptionsobject for chaining.
-
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
BinaryDatarepresenting the manifest.
-
getManifestMediaType
Media type of the corresponding manifest.- Returns:
- instance of
ManifestMediaType.
-