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