Class BetaThinkingDroppedInputTransformation.Builder
-
- All Implemented Interfaces:
public final class BetaThinkingDroppedInputTransformation.BuilderA builder for BetaThinkingDroppedInputTransformation.
-
-
Method Summary
Modifier and Type Method Description final BetaThinkingDroppedInputTransformation.Builderpath(String path)Where the removed block was in your request, as messages.{i}.content.{j}:iindexes themessagesarray you sent andjthat message'scontentarray — the same form error messages use.final BetaThinkingDroppedInputTransformation.Builderpath(JsonField<String> path)Sets Builder.path to an arbitrary JSON value. final BetaThinkingDroppedInputTransformation.Builderreason(BetaThinkingDroppedInputTransformation.Reason reason)Which binding check removed the block: model_binding_mismatch— it was created by a model whose reasoning the requested model may not read;prefix_binding_mismatch— the conversation before it differs from the conversation it was created in (the rest of that turn's consecutive thinking blocks are removed with it, each with this reason);organization_binding_mismatch— it was created under a different organization (an Anthropic organization, AWS account or Google Cloud project) and this organization is not one of its additional organizations;end_user_binding_mismatch— it was created for a different end user, or was removed by the consumer-organization binding.final BetaThinkingDroppedInputTransformation.Builderreason(JsonField<BetaThinkingDroppedInputTransformation.Reason> reason)Sets Builder.reason to an arbitrary JSON value. final BetaThinkingDroppedInputTransformation.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final BetaThinkingDroppedInputTransformation.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final BetaThinkingDroppedInputTransformation.BuilderputAdditionalProperty(String key, JsonValue value)final BetaThinkingDroppedInputTransformation.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final BetaThinkingDroppedInputTransformation.BuilderremoveAdditionalProperty(String key)final BetaThinkingDroppedInputTransformation.BuilderremoveAllAdditionalProperties(Set<String> keys)final BetaThinkingDroppedInputTransformationbuild()Returns an immutable instance of BetaThinkingDroppedInputTransformation. -
-
Method Detail
-
path
final BetaThinkingDroppedInputTransformation.Builder path(String path)
Where the removed block was in your request, as
messages.{i}.content.{j}:iindexes themessagesarray you sent andjthat message'scontentarray — the same form error messages use.
-
path
final BetaThinkingDroppedInputTransformation.Builder path(JsonField<String> path)
Sets Builder.path to an arbitrary JSON value.
You should usually call Builder.path with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
reason
final BetaThinkingDroppedInputTransformation.Builder reason(BetaThinkingDroppedInputTransformation.Reason reason)
Which binding check removed the block:
model_binding_mismatch— it was created by a model whose reasoning the requested model may not read;prefix_binding_mismatch— the conversation before it differs from the conversation it was created in (the rest of that turn's consecutive thinking blocks are removed with it, each with this reason);organization_binding_mismatch— it was created under a different organization (an Anthropic organization, AWS account or Google Cloud project) and this organization is not one of its additional organizations;end_user_binding_mismatch— it was created for a different end user, or was removed by the consumer-organization binding. A block that would fail several checks reports one reason, in this order of precedence:organization_binding_mismatch,end_user_binding_mismatch,model_binding_mismatch,prefix_binding_mismatch.
-
reason
final BetaThinkingDroppedInputTransformation.Builder reason(JsonField<BetaThinkingDroppedInputTransformation.Reason> reason)
Sets Builder.reason to an arbitrary JSON value.
You should usually call Builder.reason with a well-typed Reason value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaThinkingDroppedInputTransformation.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_dropped")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaThinkingDroppedInputTransformation.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaThinkingDroppedInputTransformation.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaThinkingDroppedInputTransformation.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaThinkingDroppedInputTransformation.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaThinkingDroppedInputTransformation.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaThinkingDroppedInputTransformation build()
Returns an immutable instance of BetaThinkingDroppedInputTransformation.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.path() .reason()
-
-
-
-