Package com.anthropic.models
Class RampLimitExceededException.Builder
-
- All Implemented Interfaces:
public final class RampLimitExceededException.Builder extends RateLimitException.Builder
A builder for RampLimitExceededException.
-
-
Method Summary
Modifier and Type Method Description RampLimitExceededException.Builderheaders(Headers headers)RampLimitExceededException.Builderbody(JsonValue body)RampLimitExceededException.Buildercause(Throwable cause)RampLimitExceededException.Buildercause(Optional<Throwable> cause)Alias for calling Builder.cause with cause.orElse(null).RampLimitExceededExceptionbuild()Returns an immutable instance of RampLimitExceededException. -
-
Method Detail
-
headers
RampLimitExceededException.Builder headers(Headers headers)
-
body
RampLimitExceededException.Builder body(JsonValue body)
-
cause
RampLimitExceededException.Builder cause(Throwable cause)
-
cause
RampLimitExceededException.Builder cause(Optional<Throwable> cause)
Alias for calling Builder.cause with
cause.orElse(null).
-
build
RampLimitExceededException build()
Returns an immutable instance of RampLimitExceededException.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.headers() .body()
-
-
-
-