public static enum ImageSourceDetails.SourceImageType extends Enum<ImageSourceDetails.SourceImageType>
The format of the image to be imported. Only monolithic images are supported. This attribute is not used for exported Oracle images with the OCI image format.
Modifier and Type | Method and Description |
---|---|
static ImageSourceDetails.SourceImageType |
create(String key) |
String |
getValue() |
static ImageSourceDetails.SourceImageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageSourceDetails.SourceImageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageSourceDetails.SourceImageType Qcow2
public static final ImageSourceDetails.SourceImageType Vmdk
public static ImageSourceDetails.SourceImageType[] values()
for (ImageSourceDetails.SourceImageType c : ImageSourceDetails.SourceImageType.values()) System.out.println(c);
public static ImageSourceDetails.SourceImageType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getValue()
public static ImageSourceDetails.SourceImageType create(String key)
Copyright © 2016–2022. All rights reserved.