Class BetaManagedAgentsMcpToolsetParams.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolsetParams.BuilderA builder for BetaManagedAgentsMcpToolsetParams.
-
-
Method Summary
-
-
Method Detail
-
mcpServerName
final BetaManagedAgentsMcpToolsetParams.Builder mcpServerName(String mcpServerName)
Name of the MCP server. Must match a server name from the mcp_servers array. 1-255 characters.
-
mcpServerName
final BetaManagedAgentsMcpToolsetParams.Builder mcpServerName(JsonField<String> mcpServerName)
Sets Builder.mcpServerName to an arbitrary JSON value.
You should usually call Builder.mcpServerName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsMcpToolsetParams.Builder type(BetaManagedAgentsMcpToolsetParams.Type type)
-
type
final BetaManagedAgentsMcpToolsetParams.Builder type(JsonField<BetaManagedAgentsMcpToolsetParams.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
configs
final BetaManagedAgentsMcpToolsetParams.Builder configs(List<BetaManagedAgentsMcpToolConfigParams> configs)
Per-tool configuration overrides.
-
configs
final BetaManagedAgentsMcpToolsetParams.Builder configs(JsonField<List<BetaManagedAgentsMcpToolConfigParams>> configs)
Sets Builder.configs to an arbitrary JSON value.
You should usually call Builder.configs with a well-typed
List<BetaManagedAgentsMcpToolConfigParams>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addConfig
final BetaManagedAgentsMcpToolsetParams.Builder addConfig(BetaManagedAgentsMcpToolConfigParams config)
Adds a single BetaManagedAgentsMcpToolConfigParams to configs.
-
defaultConfig
final BetaManagedAgentsMcpToolsetParams.Builder defaultConfig(BetaManagedAgentsMcpToolsetDefaultConfigParams defaultConfig)
Default configuration for all tools from an MCP server.
-
defaultConfig
final BetaManagedAgentsMcpToolsetParams.Builder defaultConfig(Optional<BetaManagedAgentsMcpToolsetDefaultConfigParams> defaultConfig)
Alias for calling Builder.defaultConfig with
defaultConfig.orElse(null).
-
defaultConfig
final BetaManagedAgentsMcpToolsetParams.Builder defaultConfig(JsonField<BetaManagedAgentsMcpToolsetDefaultConfigParams> defaultConfig)
Sets Builder.defaultConfig to an arbitrary JSON value.
You should usually call Builder.defaultConfig with a well-typed BetaManagedAgentsMcpToolsetDefaultConfigParams value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsMcpToolsetParams.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMcpToolsetParams.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMcpToolsetParams.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMcpToolsetParams.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMcpToolsetParams.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMcpToolsetParams build()
Returns an immutable instance of BetaManagedAgentsMcpToolsetParams.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.mcpServerName() .type()
-
-
-
-