Package com.anthropic.models.messages
Class RedactedThinkingBlock.Builder
-
- All Implemented Interfaces:
public final class RedactedThinkingBlock.BuilderA builder for RedactedThinkingBlock.
-
-
Method Summary
Modifier and Type Method Description final RedactedThinkingBlock.Builderdata(String data)final RedactedThinkingBlock.Builderdata(JsonField<String> data)Sets Builder.data to an arbitrary JSON value. final RedactedThinkingBlock.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final RedactedThinkingBlock.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final RedactedThinkingBlock.BuilderputAdditionalProperty(String key, JsonValue value)final RedactedThinkingBlock.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final RedactedThinkingBlock.BuilderremoveAdditionalProperty(String key)final RedactedThinkingBlock.BuilderremoveAllAdditionalProperties(Set<String> keys)final RedactedThinkingBlockbuild()Returns an immutable instance of RedactedThinkingBlock. -
-
Method Detail
-
data
final RedactedThinkingBlock.Builder data(String data)
-
data
final RedactedThinkingBlock.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 RedactedThinkingBlock.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 RedactedThinkingBlock.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final RedactedThinkingBlock.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final RedactedThinkingBlock.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final RedactedThinkingBlock.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final RedactedThinkingBlock.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final RedactedThinkingBlock build()
Returns an immutable instance of RedactedThinkingBlock.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.data()
-
-
-
-