Package com.anthropic.models.messages
Class ThinkingConfigEnabled.Builder
-
- All Implemented Interfaces:
public final class ThinkingConfigEnabled.BuilderA builder for ThinkingConfigEnabled.
-
-
Method Summary
Modifier and Type Method Description final ThinkingConfigEnabled.BuilderbudgetTokens(Long budgetTokens)Determines how many tokens Claude can use for its internal reasoning process. final ThinkingConfigEnabled.BuilderbudgetTokens(JsonField<Long> budgetTokens)Determines how many tokens Claude can use for its internal reasoning process. final ThinkingConfigEnabled.Buildertype(JsonValue type)final ThinkingConfigEnabled.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingConfigEnabled.BuilderputAdditionalProperty(String key, JsonValue value)final ThinkingConfigEnabled.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingConfigEnabled.BuilderremoveAdditionalProperty(String key)final ThinkingConfigEnabled.BuilderremoveAllAdditionalProperties(Set<String> keys)final ThinkingConfigEnabledbuild()-
-
Method Detail
-
budgetTokens
final ThinkingConfigEnabled.Builder budgetTokens(Long budgetTokens)
Determines how many tokens Claude can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality.
Must be ≥1024 and less than
max_tokens.See extended thinking for details.
-
budgetTokens
final ThinkingConfigEnabled.Builder budgetTokens(JsonField<Long> budgetTokens)
Determines how many tokens Claude can use for its internal reasoning process. Larger budgets can enable more thorough analysis for complex problems, improving response quality.
Must be ≥1024 and less than
max_tokens.See extended thinking for details.
-
type
final ThinkingConfigEnabled.Builder type(JsonValue type)
-
additionalProperties
final ThinkingConfigEnabled.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThinkingConfigEnabled.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThinkingConfigEnabled.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThinkingConfigEnabled.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThinkingConfigEnabled.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThinkingConfigEnabled build()
-
-
-
-