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