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