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