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.
Modifier and Type | Method and 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.
|
public static final SummarizeTextDetails.Length Short
public static final SummarizeTextDetails.Length Medium
public static final SummarizeTextDetails.Length Long
public static final SummarizeTextDetails.Length Auto
public static SummarizeTextDetails.Length[] values()
for (SummarizeTextDetails.Length c : SummarizeTextDetails.Length.values()) System.out.println(c);
public static SummarizeTextDetails.Length valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SummarizeTextDetails.Length create(String key)
Copyright © 2016–2024. All rights reserved.