Interface Descriptors.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Descriptors.Builder,,Descriptors> SdkBuilder<Descriptors.Builder,,Descriptors> SdkPojo
- Enclosing class:
Descriptors
-
Method Summary
Modifier and TypeMethodDescriptiondefault Descriptors.Buildera2aAgentCard(Consumer<A2aAgentCardDescriptor.Builder> a2aAgentCard) The A2A agent card descriptor, populated when the record type is AGENT.a2aAgentCard(A2aAgentCardDescriptor a2aAgentCard) The A2A agent card descriptor, populated when the record type is AGENT.default Descriptors.BuilderagentSkillsDefinition(Consumer<AgentSkillsDefinitionDescriptor.Builder> agentSkillsDefinition) The agent skills definition descriptor, populated when the record type is SKILL.agentSkillsDefinition(AgentSkillsDefinitionDescriptor agentSkillsDefinition) The agent skills definition descriptor, populated when the record type is SKILL.default Descriptors.Buildercustom(Consumer<CustomDescriptor.Builder> custom) The custom descriptor, populated when the record type is CUSTOM.custom(CustomDescriptor custom) The custom descriptor, populated when the record type is CUSTOM.default Descriptors.BuildermcpServer(Consumer<McpServerDescriptor.Builder> mcpServer) The MCP server descriptor, populated when the record type is MCP.mcpServer(McpServerDescriptor mcpServer) The MCP server descriptor, populated when the record type is MCP.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
-
mcpServer
The MCP server descriptor, populated when the record type is MCP.
- Parameters:
mcpServer- The MCP server descriptor, populated when the record type is MCP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mcpServer
The MCP server descriptor, populated when the record type is MCP.
This is a convenience method that creates an instance of theMcpServerDescriptor.Builderavoiding the need to create one manually viaMcpServerDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomcpServer(McpServerDescriptor).- Parameters:
mcpServer- a consumer that will call methods onMcpServerDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
a2aAgentCard
The A2A agent card descriptor, populated when the record type is AGENT.
- Parameters:
a2aAgentCard- The A2A agent card descriptor, populated when the record type is AGENT.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
a2aAgentCard
The A2A agent card descriptor, populated when the record type is AGENT.
This is a convenience method that creates an instance of theA2aAgentCardDescriptor.Builderavoiding the need to create one manually viaA2aAgentCardDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toa2aAgentCard(A2aAgentCardDescriptor).- Parameters:
a2aAgentCard- a consumer that will call methods onA2aAgentCardDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentSkillsDefinition
The agent skills definition descriptor, populated when the record type is SKILL.
- Parameters:
agentSkillsDefinition- The agent skills definition descriptor, populated when the record type is SKILL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentSkillsDefinition
default Descriptors.Builder agentSkillsDefinition(Consumer<AgentSkillsDefinitionDescriptor.Builder> agentSkillsDefinition) The agent skills definition descriptor, populated when the record type is SKILL.
This is a convenience method that creates an instance of theAgentSkillsDefinitionDescriptor.Builderavoiding the need to create one manually viaAgentSkillsDefinitionDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toagentSkillsDefinition(AgentSkillsDefinitionDescriptor).- Parameters:
agentSkillsDefinition- a consumer that will call methods onAgentSkillsDefinitionDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
custom
The custom descriptor, populated when the record type is CUSTOM.
- Parameters:
custom- The custom descriptor, populated when the record type is CUSTOM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
custom
The custom descriptor, populated when the record type is CUSTOM.
This is a convenience method that creates an instance of theCustomDescriptor.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:
-