Package com.oracle.bmc.aidocument.model
Enum DocumentDetails.Source
- java.lang.Object
-
- java.lang.Enum<DocumentDetails.Source>
-
- com.oracle.bmc.aidocument.model.DocumentDetails.Source
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DocumentDetails.Source>
- Enclosing class:
- DocumentDetails
public static enum DocumentDetails.Source extends Enum<DocumentDetails.Source> implements BmcEnum
The location of the document data.The allowed values are: - INLINE: The data is included directly in the request payload. - OBJECT_STORAGE: The document 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 DocumentDetails.Source
create(String key)
String
getValue()
static DocumentDetails.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static DocumentDetails.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 DocumentDetails.Source Inline
-
ObjectStorage
public static final DocumentDetails.Source ObjectStorage
-
-
Method Detail
-
values
public static DocumentDetails.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 (DocumentDetails.Source c : DocumentDetails.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 DocumentDetails.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 DocumentDetails.Source create(String key)
-
-