Class BetaThinkingBlock.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingBlock.BuilderA builder for BetaThinkingBlock.
-
-
Method Summary
-
-
Method Detail
-
signature
final BetaThinkingBlock.Builder signature(String signature)
A value used to verify that this thinking block was generated by Claude when it is passed back to the API.
This is an opaque field and should not be interpreted or parsed. When passing thinking blocks back to the API (required when using tools with extended thinking), pass them back exactly as received, with this field intact.
See extended thinking for details.
-
signature
final BetaThinkingBlock.Builder signature(JsonField<String> signature)
Sets Builder.signature to an arbitrary JSON value.
You should usually call Builder.signature with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
thinking
final BetaThinkingBlock.Builder thinking(String thinking)
The text of Claude's thinking process for this block.
-
thinking
final BetaThinkingBlock.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 BetaThinkingBlock.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")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThinkingBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingBlock build()
Returns an immutable instance of BetaThinkingBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.signature() .thinking()
-
-
-
-