Package com.oracle.bmc.aivision.model
Enum ImageDetails.Source
- java.lang.Object
-
- java.lang.Enum<ImageDetails.Source>
-
- com.oracle.bmc.aivision.model.ImageDetails.Source
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ImageDetails.Source>
- Enclosing class:
- ImageDetails
public static enum ImageDetails.Source extends Enum<ImageDetails.Source> implements BmcEnum
The location of the image data.The allowed values are: - INLINE: The data is included directly in the request payload. - OBJECT_STORAGE: The image is in OCI Object Storage.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Inline
ObjectStorage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ImageDetails.Source
create(String key)
String
getValue()
static ImageDetails.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static ImageDetails.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Inline
public static final ImageDetails.Source Inline
-
ObjectStorage
public static final ImageDetails.Source ObjectStorage
-
-
Method Detail
-
values
public static ImageDetails.Source[] 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 (ImageDetails.Source c : ImageDetails.Source.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImageDetails.Source 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 ImageDetails.Source create(String key)
-
-