Enum ContainerFormat

  • All Implemented Interfaces:
    Serializable, Comparable<ContainerFormat>

    public enum ContainerFormat
    extends Enum<ContainerFormat>
    The container format refers to whether the virtual machine image is in a file format that also contains metadata about the actual virtual machine.

    Note

    Note that the container format string is not currently used by Glance or other OpenStack components, so it is safe to simply specify BARE as the container format if you are unsure.
    See Also:
    • Enum Constant Detail

      • BARE

        public static final ContainerFormat BARE
        This indicates there is no container or metadata envelope for the image
      • OVF

        public static final ContainerFormat OVF
        This is the OVF container format
      • AKI

        public static final ContainerFormat AKI
        This indicates what is stored in Glance is an Amazon kernel image
      • ARI

        public static final ContainerFormat ARI
        This indicates what is stored in Glance is an Amazon ramdisk image
      • AMI

        public static final ContainerFormat AMI
        This indicates what is stored in Glance is an Amazon machine image
      • UNRECOGNIZED

        public static final ContainerFormat UNRECOGNIZED
        Type unknown to jclouds
    • Method Detail

      • values

        public static ContainerFormat[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ContainerFormat c : ContainerFormat.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ContainerFormat valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()