Enum SummarizeTextDetails.Format
- java.lang.Object
-
- java.lang.Enum<SummarizeTextDetails.Format>
-
- com.oracle.bmc.generativeaiinference.model.SummarizeTextDetails.Format
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SummarizeTextDetails.Format>
- Enclosing class:
- SummarizeTextDetails
public static enum SummarizeTextDetails.Format extends Enum<SummarizeTextDetails.Format> implements BmcEnum
Indicates the style in which the summary will be delivered - in a free form paragraph or in bullet points.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.Format
create(String key)
String
getValue()
static SummarizeTextDetails.Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static SummarizeTextDetails.Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Paragraph
public static final SummarizeTextDetails.Format Paragraph
-
Bullets
public static final SummarizeTextDetails.Format Bullets
-
Auto
public static final SummarizeTextDetails.Format Auto
-
-
Method Detail
-
values
public static SummarizeTextDetails.Format[] 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.Format c : SummarizeTextDetails.Format.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.Format 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.Format create(String key)
-
-