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