Enum Class AnthropicChatModelName
- All Implemented Interfaces:
Serializable, Comparable<AnthropicChatModelName>, Constable
See more details here.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Will be retired by Anthropic on February 19, 2026Deprecated, for removal: This API element is subject to removal in a future version.Will be retired by Anthropic on January 5, 2026 -
Method Summary
Modifier and TypeMethodDescriptiontoString()static AnthropicChatModelNameReturns the enum constant of this class with the specified name.static AnthropicChatModelName[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CLAUDE_HAIKU_4_5_20251001
-
CLAUDE_SONNET_4_5_20250929
-
CLAUDE_OPUS_4_1_20250805
-
CLAUDE_OPUS_4_20250514
-
CLAUDE_SONNET_4_20250514
-
CLAUDE_3_7_SONNET_20250219
@Deprecated(since="October 28, 2025", forRemoval=true) public static final AnthropicChatModelName CLAUDE_3_7_SONNET_20250219Deprecated, for removal: This API element is subject to removal in a future version.Will be retired by Anthropic on February 19, 2026 -
CLAUDE_3_5_HAIKU_20241022
-
CLAUDE_3_OPUS_20240229
@Deprecated(since="June 30, 2025", forRemoval=true) public static final AnthropicChatModelName CLAUDE_3_OPUS_20240229Deprecated, for removal: This API element is subject to removal in a future version.Will be retired by Anthropic on January 5, 2026 -
CLAUDE_3_HAIKU_20240307
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<AnthropicChatModelName>
-