public enum CloneOptions extends java.lang.Enum<CloneOptions>
IMachine.cloneTo(org.virtualbox_6_1.IMachine,org.virtualbox_6_1.CloneMode,List)
.
Interface ID: {22243F8E-96AB-497C-8CF0-F40A566C630B}Enum Constant and Description |
---|
KeepAllMACs
Don't generate new MAC addresses of the attached network adapters.
|
KeepDiskNames
Don't change the disk names.
|
KeepHwUUIDs
Don't change UUID of the machine hardware.
|
KeepNATMACs
Don't generate new MAC addresses of the attached network adapters when they are using NAT.
|
Link
Create a clone VM where all virtual disks are linked to the original VM.
|
Modifier and Type | Method and Description |
---|---|
static CloneOptions |
fromValue(long v) |
static CloneOptions |
fromValue(java.lang.String v) |
int |
value() |
static CloneOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CloneOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneOptions Link
public static final CloneOptions KeepAllMACs
public static final CloneOptions KeepNATMACs
public static final CloneOptions KeepDiskNames
public static final CloneOptions KeepHwUUIDs
public static CloneOptions[] values()
for (CloneOptions c : CloneOptions.values()) System.out.println(c);
public static CloneOptions valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int value()
public static CloneOptions fromValue(long v)
public static CloneOptions fromValue(java.lang.String v)