Class BetaThinkingConfigEnabled.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingConfigEnabled.BuilderA builder for BetaThinkingConfigEnabled.
-
-
Method Summary
-
-
Method Detail
-
budgetTokens
final BetaThinkingConfigEnabled.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 BetaThinkingConfigEnabled.Builder budgetTokens(JsonField<Long> budgetTokens)
Sets Builder.budgetTokens to an arbitrary JSON value.
You should usually call Builder.budgetTokens with a well-typed Long value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaThinkingConfigEnabled.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("enabled")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThinkingConfigEnabled.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingConfigEnabled.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingConfigEnabled.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingConfigEnabled.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingConfigEnabled.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingConfigEnabled build()
Returns an immutable instance of BetaThinkingConfigEnabled.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.budgetTokens()
-
-
-
-