Package com.oracle.bmc.core.model
Enum ImageSourceDetails.SourceImageType
- java.lang.Object
-
- java.lang.Enum<ImageSourceDetails.SourceImageType>
-
- com.oracle.bmc.core.model.ImageSourceDetails.SourceImageType
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ImageSourceDetails.SourceImageType>
- Enclosing class:
- ImageSourceDetails
public static enum ImageSourceDetails.SourceImageType extends Enum<ImageSourceDetails.SourceImageType> implements BmcEnum
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.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
Qcow2
public static final ImageSourceDetails.SourceImageType Qcow2
-
Vmdk
public static final ImageSourceDetails.SourceImageType Vmdk
-
-
Method Detail
-
values
public static ImageSourceDetails.SourceImageType[] 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 (ImageSourceDetails.SourceImageType c : ImageSourceDetails.SourceImageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageSourceDetails.SourceImageType 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 ImageSourceDetails.SourceImageType create(String key)
-
-