Enum SummarizeTextDetails.Length
- java.lang.Object
-
- java.lang.Enum<SummarizeTextDetails.Length>
-
- com.oracle.bmc.generativeaiinference.model.SummarizeTextDetails.Length
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeTextDetails.Length>
- Enclosing class:
- SummarizeTextDetails
public static enum SummarizeTextDetails.Length extends Enum<SummarizeTextDetails.Length> implements BmcEnum
Indicates the approximate length of the summary.If “AUTO” is selected, the best option will be picked based on the input text.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SummarizeTextDetails.Length
create(String key)
String
getValue()
static SummarizeTextDetails.Length
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeTextDetails.Length[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Short
public static final SummarizeTextDetails.Length Short
-
Medium
public static final SummarizeTextDetails.Length Medium
-
Long
public static final SummarizeTextDetails.Length Long
-
Auto
public static final SummarizeTextDetails.Length Auto
-
-
Method Detail
-
values
public static SummarizeTextDetails.Length[] 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 (SummarizeTextDetails.Length c : SummarizeTextDetails.Length.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummarizeTextDetails.Length 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 SummarizeTextDetails.Length create(String key)
-
-