Package com.anthropic.models
Class SandboxEgressRestrictedErrorDetails
-
- All Implemented Interfaces:
public final class SandboxEgressRestrictedErrorDetailsThe request came from a Claude sandbox with restricted network access, which is not allowed to make this change. Send it from outside the sandbox, or from a sandbox with unrestricted network access.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSandboxEgressRestrictedErrorDetails.BuilderA builder for SandboxEgressRestrictedErrorDetails.
-
Method Summary
Modifier and Type Method Description final JsonValue_errorCode()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("sandbox_egress_restricted")final Map<String, JsonValue>_additionalProperties()final SandboxEgressRestrictedErrorDetails.BuildertoBuilder()final SandboxEgressRestrictedErrorDetailsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SandboxEgressRestrictedErrorDetails.Builderbuilder()Returns a mutable builder for constructing an instance of SandboxEgressRestrictedErrorDetails. -
-
Method Detail
-
_errorCode
final JsonValue _errorCode()
Expected to always return the following:
JsonValue.from("sandbox_egress_restricted")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SandboxEgressRestrictedErrorDetails.Builder toBuilder()
-
validate
final SandboxEgressRestrictedErrorDetails validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SandboxEgressRestrictedErrorDetails.Builder builder()
Returns a mutable builder for constructing an instance of SandboxEgressRestrictedErrorDetails.
-
-
-
-