Package com.anthropic.models.messages
Class ThinkingDelta.Builder
-
- All Implemented Interfaces:
public final class ThinkingDelta.BuilderA builder for ThinkingDelta.
-
-
Method Summary
Modifier and Type Method Description final ThinkingDelta.Builderthinking(String thinking)final ThinkingDelta.Builderthinking(JsonField<String> thinking)Sets Builder.thinking to an arbitrary JSON value. final ThinkingDelta.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final ThinkingDelta.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingDelta.BuilderputAdditionalProperty(String key, JsonValue value)final ThinkingDelta.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final ThinkingDelta.BuilderremoveAdditionalProperty(String key)final ThinkingDelta.BuilderremoveAllAdditionalProperties(Set<String> keys)final ThinkingDeltabuild()Returns an immutable instance of ThinkingDelta. -
-
Method Detail
-
thinking
final ThinkingDelta.Builder thinking(String thinking)
-
thinking
final ThinkingDelta.Builder thinking(JsonField<String> thinking)
Sets Builder.thinking to an arbitrary JSON value.
You should usually call Builder.thinking with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final ThinkingDelta.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("thinking_delta")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final ThinkingDelta.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final ThinkingDelta.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final ThinkingDelta.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final ThinkingDelta.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final ThinkingDelta.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final ThinkingDelta build()
Returns an immutable instance of ThinkingDelta.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.thinking()
-
-
-
-