Class BetaLimitedNetwork.Builder
-
- All Implemented Interfaces:
public final class BetaLimitedNetwork.BuilderA builder for BetaLimitedNetwork.
-
-
Method Summary
-
-
Method Detail
-
allowMcpServers
final BetaLimitedNetwork.Builder allowMcpServers(Boolean allowMcpServers)
Permits outbound access to MCP server endpoints configured on the agent, beyond those listed in the
allowed_hostsarray.
-
allowMcpServers
final BetaLimitedNetwork.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 BetaLimitedNetwork.Builder allowPackageManagers(Boolean allowPackageManagers)
Permits outbound access to public package registries (PyPI, npm, etc.) beyond those listed in the
allowed_hostsarray.
-
allowPackageManagers
final BetaLimitedNetwork.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 BetaLimitedNetwork.Builder allowedHosts(List<String> allowedHosts)
Specifies domains the container can reach.
-
allowedHosts
final BetaLimitedNetwork.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 BetaLimitedNetwork.Builder addAllowedHost(String allowedHost)
Adds a single String to allowedHosts.
-
type
final BetaLimitedNetwork.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.
-
additionalProperties
final BetaLimitedNetwork.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaLimitedNetwork.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaLimitedNetwork.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaLimitedNetwork.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaLimitedNetwork.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaLimitedNetwork build()
Returns an immutable instance of BetaLimitedNetwork.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.allowMcpServers() .allowPackageManagers() .allowedHosts()
-
-
-
-