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