Enum CohereImageUrlV2.Detail
- java.lang.Object
-
- java.lang.Enum<CohereImageUrlV2.Detail>
-
- com.oracle.bmc.generativeaiinference.model.CohereImageUrlV2.Detail
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<CohereImageUrlV2.Detail>
- Enclosing class:
- CohereImageUrlV2
public static enum CohereImageUrlV2.Detail extends Enum<CohereImageUrlV2.Detail> implements BmcEnum
Controls the level of detail in image processing.“auto” is the default and lets the system choose, “low” is faster but less detailed, and “high” preserves maximum detail. You can save tokens and speed up responses by using detail “low”.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AutoHighLowUnknownEnumValueThis value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CohereImageUrlV2.Detailcreate(String key)StringgetValue()static CohereImageUrlV2.DetailvalueOf(String name)Returns the enum constant of this type with the specified name.static CohereImageUrlV2.Detail[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Auto
public static final CohereImageUrlV2.Detail Auto
-
High
public static final CohereImageUrlV2.Detail High
-
Low
public static final CohereImageUrlV2.Detail Low
-
UnknownEnumValue
public static final CohereImageUrlV2.Detail UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static CohereImageUrlV2.Detail[] 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 (CohereImageUrlV2.Detail c : CohereImageUrlV2.Detail.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CohereImageUrlV2.Detail 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 CohereImageUrlV2.Detail create(String key)
-
-