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