Class BetaThinkingBlockParam.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingBlockParam.BuilderA builder for BetaThinkingBlockParam.
-
-
Method Summary
-
-
Method Detail
-
signature
final BetaThinkingBlockParam.Builder signature(String signature)
The
signaturevalue of this thinking block, exactly as returned by the API in a previous response. Used to verify that the block was generated by Claude.Thinking blocks must be passed back unmodified and in their original order; a modified block results in a 400
invalid_request_error.
-
signature
final BetaThinkingBlockParam.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 BetaThinkingBlockParam.Builder thinking(String thinking)
The
thinkingtext of this block as returned by the API.
-
thinking
final BetaThinkingBlockParam.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 BetaThinkingBlockParam.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 BetaThinkingBlockParam.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingBlockParam.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingBlockParam.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingBlockParam.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingBlockParam.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingBlockParam build()
Returns an immutable instance of BetaThinkingBlockParam.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.signature() .thinking()
-
-
-
-