Class ManifestMediaType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ManifestMediaType>
com.azure.containers.containerregistry.models.ManifestMediaType
public final class ManifestMediaType
extends com.azure.core.util.ExpandableStringEnum<ManifestMediaType>
Manifest media type.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ManifestMediaTypeDocker v2 manifest content type.static final ManifestMediaTypeOCI manifest content type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ManifestMediaTypefromString(String mediaType) Creates an instance ofManifestMediaTypefrom content type string.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
DOCKER_MANIFEST
Docker v2 manifest content type. -
OCI_IMAGE_MANIFEST
OCI manifest content type.
-
-
Constructor Details
-
ManifestMediaType
Deprecated.usefromString(String)instead.Constructs ManifestMediaType object.
-
-
Method Details
-
fromString
Creates an instance ofManifestMediaTypefrom content type string.- Parameters:
mediaType- the string with manifest content type(s).- Returns:
- instance of new
ManifestMediaType.
-
fromString(String)instead.