Package com.anthropic.models
Class OverloadedError.Builder
-
- All Implemented Interfaces:
public final class OverloadedError.BuilderA builder for OverloadedError.
-
-
Method Summary
Modifier and Type Method Description final OverloadedError.Buildermessage(String message)final OverloadedError.Buildermessage(JsonField<String> message)Sets Builder.message to an arbitrary JSON value. final OverloadedError.Buildertype(JsonValue type)Sets the field to an arbitrary JSON value. final OverloadedError.BuilderadditionalProperties(Map<String, JsonValue> additionalProperties)final OverloadedError.BuilderputAdditionalProperty(String key, JsonValue value)final OverloadedError.BuilderputAllAdditionalProperties(Map<String, JsonValue> additionalProperties)final OverloadedError.BuilderremoveAdditionalProperty(String key)final OverloadedError.BuilderremoveAllAdditionalProperties(Set<String> keys)final OverloadedErrorbuild()Returns an immutable instance of OverloadedError. -
-
Method Detail
-
message
final OverloadedError.Builder message(String message)
-
message
final OverloadedError.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message 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 OverloadedError.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("overloaded_error")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OverloadedError.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OverloadedError.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OverloadedError.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OverloadedError.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OverloadedError.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OverloadedError build()
Returns an immutable instance of OverloadedError.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.message()
-
-
-
-