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