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 Summary
Constructors Constructor Description UploadManifestOptions(OciManifest ociManifest)
Instantiate an instance of upload manifest options with the ocimanifest information.UploadManifestOptions(com.azure.core.util.BinaryData manifest)
Instantiate an instance of upload manifest options with the manifest information.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.util.BinaryData
getManifest()
The manifest to be uploaded.String
getTag()
The tag assigned to the artifact represented by this manifest.UploadManifestOptions
setTag(String tag)
A tag to assign to the artifact represented by this manifest.
-
-
-
Constructor Detail
-
UploadManifestOptions
public UploadManifestOptions(com.azure.core.util.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 Detail
-
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.
-
-