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