Class BetaManagedAgentsMcpToolset.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsMcpToolset.BuilderA builder for BetaManagedAgentsMcpToolset.
-
-
Method Summary
-
-
Method Detail
-
configs
final BetaManagedAgentsMcpToolset.Builder configs(List<BetaManagedAgentsMcpToolConfig> configs)
-
configs
final BetaManagedAgentsMcpToolset.Builder configs(JsonField<List<BetaManagedAgentsMcpToolConfig>> configs)
Sets Builder.configs to an arbitrary JSON value.
You should usually call Builder.configs with a well-typed
List<BetaManagedAgentsMcpToolConfig>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addConfig
final BetaManagedAgentsMcpToolset.Builder addConfig(BetaManagedAgentsMcpToolConfig config)
Adds a single BetaManagedAgentsMcpToolConfig to configs.
-
defaultConfig
final BetaManagedAgentsMcpToolset.Builder defaultConfig(BetaManagedAgentsMcpToolsetDefaultConfig defaultConfig)
Resolved default configuration for all tools from an MCP server.
-
defaultConfig
final BetaManagedAgentsMcpToolset.Builder defaultConfig(JsonField<BetaManagedAgentsMcpToolsetDefaultConfig> defaultConfig)
Sets Builder.defaultConfig to an arbitrary JSON value.
You should usually call Builder.defaultConfig with a well-typed BetaManagedAgentsMcpToolsetDefaultConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
mcpServerName
final BetaManagedAgentsMcpToolset.Builder mcpServerName(String mcpServerName)
-
mcpServerName
final BetaManagedAgentsMcpToolset.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 BetaManagedAgentsMcpToolset.Builder type(BetaManagedAgentsMcpToolset.Type type)
-
type
final BetaManagedAgentsMcpToolset.Builder type(JsonField<BetaManagedAgentsMcpToolset.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.
-
additionalProperties
final BetaManagedAgentsMcpToolset.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsMcpToolset.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsMcpToolset.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsMcpToolset.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsMcpToolset.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsMcpToolset build()
Returns an immutable instance of BetaManagedAgentsMcpToolset.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.configs() .defaultConfig() .mcpServerName() .type()
-
-
-
-