Class BetaLimitedNetworkParams.Builder
-
- All Implemented Interfaces:
public final class BetaLimitedNetworkParams.BuilderA builder for BetaLimitedNetworkParams.
-
-
Method Summary
-
-
Method Detail
-
type
final BetaLimitedNetworkParams.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("limited")This method is primarily for setting the field to an undocumented or not yet supported value.
-
allowMcpServers
final BetaLimitedNetworkParams.Builder allowMcpServers(Boolean allowMcpServers)
Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the
allowed_hostsarray. Defaults tofalse.
-
allowMcpServers
final BetaLimitedNetworkParams.Builder allowMcpServers(Boolean allowMcpServers)
Alias for Builder.allowMcpServers.
This unboxed primitive overload exists for backwards compatibility.
-
allowMcpServers
final BetaLimitedNetworkParams.Builder allowMcpServers(Optional<Boolean> allowMcpServers)
Alias for calling Builder.allowMcpServers with
allowMcpServers.orElse(null).
-
allowMcpServers
final BetaLimitedNetworkParams.Builder allowMcpServers(JsonField<Boolean> allowMcpServers)
Sets Builder.allowMcpServers to an arbitrary JSON value.
You should usually call Builder.allowMcpServers with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
allowPackageManagers
final BetaLimitedNetworkParams.Builder allowPackageManagers(Boolean allowPackageManagers)
Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the
allowed_hostsarray. Defaults tofalse.
-
allowPackageManagers
final BetaLimitedNetworkParams.Builder allowPackageManagers(Boolean allowPackageManagers)
Alias for Builder.allowPackageManagers.
This unboxed primitive overload exists for backwards compatibility.
-
allowPackageManagers
final BetaLimitedNetworkParams.Builder allowPackageManagers(Optional<Boolean> allowPackageManagers)
Alias for calling Builder.allowPackageManagers with
allowPackageManagers.orElse(null).
-
allowPackageManagers
final BetaLimitedNetworkParams.Builder allowPackageManagers(JsonField<Boolean> allowPackageManagers)
Sets Builder.allowPackageManagers to an arbitrary JSON value.
You should usually call Builder.allowPackageManagers with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
allowedHosts
final BetaLimitedNetworkParams.Builder allowedHosts(List<String> allowedHosts)
Specifies domains the container can reach.
-
allowedHosts
final BetaLimitedNetworkParams.Builder allowedHosts(Optional<List<String>> allowedHosts)
Alias for calling Builder.allowedHosts with
allowedHosts.orElse(null).
-
allowedHosts
final BetaLimitedNetworkParams.Builder allowedHosts(JsonField<List<String>> allowedHosts)
Sets Builder.allowedHosts to an arbitrary JSON value.
You should usually call Builder.allowedHosts with a well-typed
List<String>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAllowedHost
final BetaLimitedNetworkParams.Builder addAllowedHost(String allowedHost)
Adds a single String to allowedHosts.
-
additionalProperties
final BetaLimitedNetworkParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaLimitedNetworkParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaLimitedNetworkParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaLimitedNetworkParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaLimitedNetworkParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaLimitedNetworkParams build()
Returns an immutable instance of BetaLimitedNetworkParams.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-