Class ThinkingConfigAdaptive.Builder
-
- All Implemented Interfaces:
public final class ThinkingConfigAdaptive.BuilderA builder for ThinkingConfigAdaptive.
-
-
Method Summary
-
-
Method Detail
-
type
final ThinkingConfigAdaptive.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("adaptive")This method is primarily for setting the field to an undocumented or not yet supported value.
-
display
final ThinkingConfigAdaptive.Builder display(ThinkingConfigAdaptive.Display display)
Controls how thinking content appears in the response. When set to
summarized, thinking is returned normally. When set toomitted, thinking content is redacted but a signature is returned for multi-turn continuity. Defaults tosummarized.
-
display
final ThinkingConfigAdaptive.Builder display(Optional<ThinkingConfigAdaptive.Display> display)
Alias for calling Builder.display with
display.orElse(null).
-
display
final ThinkingConfigAdaptive.Builder display(JsonField<ThinkingConfigAdaptive.Display> display)
Sets Builder.display to an arbitrary JSON value.
You should usually call Builder.display with a well-typed Display value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ThinkingConfigAdaptive.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThinkingConfigAdaptive.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThinkingConfigAdaptive.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThinkingConfigAdaptive.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThinkingConfigAdaptive.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThinkingConfigAdaptive build()
Returns an immutable instance of ThinkingConfigAdaptive.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-