Class BetaRedactedThinkingBlock.Builder
-
- All Implemented Interfaces:
public final class BetaRedactedThinkingBlock.BuilderA builder for BetaRedactedThinkingBlock.
-
-
Method Summary
-
-
Method Detail
-
data
final BetaRedactedThinkingBlock.Builder data(String data)
The contents of this redacted thinking block, returned when portions of the model's thinking were safety-redacted. This field is opaque and encrypted, with no readable content.
Pass
redacted_thinkingblocks back to the API unchanged when continuing a multi-turn conversation.See extended thinking for details.
-
data
final BetaRedactedThinkingBlock.Builder data(JsonField<String> data)
Sets Builder.data to an arbitrary JSON value.
You should usually call Builder.data 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 BetaRedactedThinkingBlock.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("redacted_thinking")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaRedactedThinkingBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaRedactedThinkingBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaRedactedThinkingBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaRedactedThinkingBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaRedactedThinkingBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaRedactedThinkingBlock build()
Returns an immutable instance of BetaRedactedThinkingBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-