Interface Descriptors.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Descriptors.Builder,,Descriptors> SdkBuilder<Descriptors.Builder,,Descriptors> SdkPojo
- Enclosing class:
Descriptors
-
Method Summary
Modifier and TypeMethodDescriptiondefault Descriptors.Buildera2a(Consumer<A2aDescriptor.Builder> a2a) The Agent-to-Agent (A2A) protocol descriptor configuration.a2a(A2aDescriptor a2a) The Agent-to-Agent (A2A) protocol descriptor configuration.default Descriptors.BuilderagentSkills(Consumer<AgentSkillsDescriptor.Builder> agentSkills) The agent skills descriptor configuration.agentSkills(AgentSkillsDescriptor agentSkills) The agent skills descriptor configuration.default Descriptors.Buildercustom(Consumer<CustomDescriptor.Builder> custom) The custom descriptor configuration.custom(CustomDescriptor custom) The custom descriptor configuration.default Descriptors.Buildermcp(Consumer<McpDescriptor.Builder> mcp) The Model Context Protocol (MCP) descriptor configuration.mcp(McpDescriptor mcp) The Model Context Protocol (MCP) descriptor configuration.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
mcp
The Model Context Protocol (MCP) descriptor configuration. Use this when the
descriptorTypeisMCP.- Parameters:
mcp- The Model Context Protocol (MCP) descriptor configuration. Use this when thedescriptorTypeisMCP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcp
The Model Context Protocol (MCP) descriptor configuration. Use this when the
This is a convenience method that creates an instance of thedescriptorTypeisMCP.McpDescriptor.Builderavoiding the need to create one manually viaMcpDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcp(McpDescriptor).- Parameters:
mcp- a consumer that will call methods onMcpDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
a2a
The Agent-to-Agent (A2A) protocol descriptor configuration. Use this when the
descriptorTypeisA2A.- Parameters:
a2a- The Agent-to-Agent (A2A) protocol descriptor configuration. Use this when thedescriptorTypeisA2A.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
a2a
The Agent-to-Agent (A2A) protocol descriptor configuration. Use this when the
This is a convenience method that creates an instance of thedescriptorTypeisA2A.A2aDescriptor.Builderavoiding the need to create one manually viaA2aDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toa2a(A2aDescriptor).- Parameters:
a2a- a consumer that will call methods onA2aDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
The custom descriptor configuration. Use this when the
descriptorTypeisCUSTOM.- Parameters:
custom- The custom descriptor configuration. Use this when thedescriptorTypeisCUSTOM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
The custom descriptor configuration. Use this when the
This is a convenience method that creates an instance of thedescriptorTypeisCUSTOM.CustomDescriptor.Builderavoiding the need to create one manually viaCustomDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocustom(CustomDescriptor).- Parameters:
custom- a consumer that will call methods onCustomDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentSkills
The agent skills descriptor configuration. Use this when the
descriptorTypeisAGENT_SKILLS.- Parameters:
agentSkills- The agent skills descriptor configuration. Use this when thedescriptorTypeisAGENT_SKILLS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSkills
The agent skills descriptor configuration. Use this when the
This is a convenience method that creates an instance of thedescriptorTypeisAGENT_SKILLS.AgentSkillsDescriptor.Builderavoiding the need to create one manually viaAgentSkillsDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentSkills(AgentSkillsDescriptor).- Parameters:
agentSkills- a consumer that will call methods onAgentSkillsDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-