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