Class BetaManagedAgentsInlineAgent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsInlineAgent.BuilderA builder for BetaManagedAgentsInlineAgent.
-
-
Method Summary
-
-
Method Detail
-
description
final BetaManagedAgentsInlineAgent.Builder description(String description)
-
description
final BetaManagedAgentsInlineAgent.Builder description(Optional<String> description)
Alias for calling Builder.description with
description.orElse(null).
-
description
final BetaManagedAgentsInlineAgent.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
executionIdentity
final BetaManagedAgentsInlineAgent.Builder executionIdentity(BetaManagedAgentsExecutionIdentity executionIdentity)
The session's execution principal.
-
executionIdentity
final BetaManagedAgentsInlineAgent.Builder executionIdentity(JsonField<BetaManagedAgentsExecutionIdentity> executionIdentity)
Sets Builder.executionIdentity to an arbitrary JSON value.
You should usually call Builder.executionIdentity with a well-typed BetaManagedAgentsExecutionIdentity value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
executionIdentity
final BetaManagedAgentsInlineAgent.Builder executionIdentity(BetaManagedAgentsAwsRoleExecutionIdentity awsRole)
Alias for calling executionIdentity with
BetaManagedAgentsExecutionIdentity.ofAwsRole(awsRole).
-
executionIdentity
final BetaManagedAgentsInlineAgent.Builder executionIdentity(BetaManagedAgentsServiceAccountExecutionIdentity serviceAccount)
Alias for calling executionIdentity with
BetaManagedAgentsExecutionIdentity.ofServiceAccount(serviceAccount).
-
mcpServers
final BetaManagedAgentsInlineAgent.Builder mcpServers(List<BetaManagedAgentsMcpServerUrlDefinition> mcpServers)
-
mcpServers
final BetaManagedAgentsInlineAgent.Builder mcpServers(JsonField<List<BetaManagedAgentsMcpServerUrlDefinition>> mcpServers)
Sets Builder.mcpServers to an arbitrary JSON value.
You should usually call Builder.mcpServers with a well-typed
List<BetaManagedAgentsMcpServerUrlDefinition>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
model
final BetaManagedAgentsInlineAgent.Builder model(BetaManagedAgentsModelConfig model)
Model identifier and configuration.
-
model
final BetaManagedAgentsInlineAgent.Builder model(JsonField<BetaManagedAgentsModelConfig> model)
Sets Builder.model to an arbitrary JSON value.
You should usually call Builder.model with a well-typed BetaManagedAgentsModelConfig value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final BetaManagedAgentsInlineAgent.Builder name(String name)
The name that the agent's definition gave, or one that the server assigned.
-
name
final BetaManagedAgentsInlineAgent.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
skills
final BetaManagedAgentsInlineAgent.Builder skills(List<BetaManagedAgentsInlineAgent.Skill> skills)
-
skills
final BetaManagedAgentsInlineAgent.Builder skills(JsonField<List<BetaManagedAgentsInlineAgent.Skill>> skills)
Sets Builder.skills to an arbitrary JSON value.
You should usually call Builder.skills with a well-typed
List<Skill>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
system
final BetaManagedAgentsInlineAgent.Builder system(String system)
-
system
final BetaManagedAgentsInlineAgent.Builder system(Optional<String> system)
Alias for calling Builder.system with
system.orElse(null).
-
system
final BetaManagedAgentsInlineAgent.Builder system(JsonField<String> system)
Sets Builder.system to an arbitrary JSON value.
You should usually call Builder.system with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
tools
final BetaManagedAgentsInlineAgent.Builder tools(List<BetaManagedAgentsInlineAgent.Tool> tools)
-
tools
final BetaManagedAgentsInlineAgent.Builder tools(JsonField<List<BetaManagedAgentsInlineAgent.Tool>> tools)
Sets Builder.tools to an arbitrary JSON value.
You should usually call Builder.tools with a well-typed
List<Tool>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaManagedAgentsInlineAgent.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("inline")This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsInlineAgent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
awsRoleExecutionIdentity
final BetaManagedAgentsInlineAgent.Builder awsRoleExecutionIdentity(String roleArn)
Alias for calling executionIdentity with the following:
BetaManagedAgentsAwsRoleExecutionIdentity.builder() .roleArn(roleArn) .build()
-
addMcpServer
final BetaManagedAgentsInlineAgent.Builder addMcpServer(BetaManagedAgentsMcpServerUrlDefinition mcpServer)
Adds a single BetaManagedAgentsMcpServerUrlDefinition to mcpServers.
-
addSkill
final BetaManagedAgentsInlineAgent.Builder addSkill(BetaManagedAgentsInlineAgent.Skill skill)
-
addSkill
final BetaManagedAgentsInlineAgent.Builder addSkill(BetaManagedAgentsAnthropicSkill anthropic)
Alias for calling addSkill with
Skill.ofAnthropic(anthropic).
-
addSkill
final BetaManagedAgentsInlineAgent.Builder addSkill(BetaManagedAgentsCustomSkill custom)
Alias for calling addSkill with
Skill.ofCustom(custom).
-
addTool
final BetaManagedAgentsInlineAgent.Builder addTool(BetaManagedAgentsInlineAgent.Tool tool)
-
addTool
final BetaManagedAgentsInlineAgent.Builder addTool(BetaManagedAgentsAgentToolset20260401 agentToolset20260401)
Alias for calling addTool with
Tool.ofAgentToolset20260401(agentToolset20260401).
-
addTool
final BetaManagedAgentsInlineAgent.Builder addTool(BetaManagedAgentsMcpToolset mcpToolset)
Alias for calling addTool with
Tool.ofMcpToolset(mcpToolset).
-
addTool
final BetaManagedAgentsInlineAgent.Builder addTool(BetaManagedAgentsCustomTool custom)
Alias for calling addTool with
Tool.ofCustom(custom).
-
putAdditionalProperty
final BetaManagedAgentsInlineAgent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsInlineAgent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsInlineAgent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsInlineAgent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsInlineAgent build()
Returns an immutable instance of BetaManagedAgentsInlineAgent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.description() .executionIdentity() .mcpServers() .model() .name() .skills() .system() .tools()
-
-
-
-