Package com.oracle.bmc.core.model
Enum ExportImageDetails.ExportFormat
- java.lang.Object
-
- java.lang.Enum<ExportImageDetails.ExportFormat>
-
- com.oracle.bmc.core.model.ExportImageDetails.ExportFormat
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ExportImageDetails.ExportFormat>
- Enclosing class:
- ExportImageDetails
public static enum ExportImageDetails.ExportFormat extends Enum<ExportImageDetails.ExportFormat> implements BmcEnum
The format to export the image to.The default value is OCI.
The following image formats are available:
- OCI - Oracle Cloud Infrastructure file with a QCOW2 image and Oracle Cloud Infrastructure metadata (.oci). Use this format to export a custom image that you want to import into other tenancies or regions. - QCOW2 - QEMU Copy On Write (.qcow2) - VDI - Virtual Disk Image (.vdi) for Oracle VM VirtualBox - VHD - Virtual Hard Disk (.vhd) for Hyper-V - VMDK - Virtual Machine Disk (.vmdk)
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExportImageDetails.ExportFormat
create(String key)
String
getValue()
static ExportImageDetails.ExportFormat
valueOf(String name)
Returns the enum constant of this type with the specified name.static ExportImageDetails.ExportFormat[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Qcow2
public static final ExportImageDetails.ExportFormat Qcow2
-
Vmdk
public static final ExportImageDetails.ExportFormat Vmdk
-
Oci
public static final ExportImageDetails.ExportFormat Oci
-
Vhd
public static final ExportImageDetails.ExportFormat Vhd
-
Vdi
public static final ExportImageDetails.ExportFormat Vdi
-
-
Method Detail
-
values
public static ExportImageDetails.ExportFormat[] 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 (ExportImageDetails.ExportFormat c : ExportImageDetails.ExportFormat.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ExportImageDetails.ExportFormat 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 nameNullPointerException
- if the argument is null
-
create
public static ExportImageDetails.ExportFormat create(String key)
-
-