Class CfnRegistryRecord.DescriptorsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.DescriptorsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorsProperty>
- Enclosing interface:
CfnRegistryRecord.DescriptorsProperty
@Stability(Stable)
public static final class CfnRegistryRecord.DescriptorsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.DescriptorsProperty>
A builder for
CfnRegistryRecord.DescriptorsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiona2AAgentCard(IResolvable a2AAgentCard) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getA2AAgentCard()a2AAgentCard(CfnRegistryRecord.A2aAgentCardDescriptorProperty a2AAgentCard) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getA2AAgentCard()agentSkillsDefinition(IResolvable agentSkillsDefinition) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgentSkillsDefinition()agentSkillsDefinition(CfnRegistryRecord.AgentSkillsDefinitionDescriptorProperty agentSkillsDefinition) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgentSkillsDefinition()build()Builds the configured instance.custom(IResolvable custom) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()mcpServer(IResolvable mcpServer) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getMcpServer()Sets the value ofCfnRegistryRecord.DescriptorsProperty.getMcpServer()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
a2AAgentCard
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder a2AAgentCard(IResolvable a2AAgentCard) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getA2AAgentCard()- Parameters:
a2AAgentCard- The A2A agent card descriptor, populated when the record type is AGENT.- Returns:
this
-
a2AAgentCard
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder a2AAgentCard(CfnRegistryRecord.A2aAgentCardDescriptorProperty a2AAgentCard) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getA2AAgentCard()- Parameters:
a2AAgentCard- The A2A agent card descriptor, populated when the record type is AGENT.- Returns:
this
-
agentSkillsDefinition
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder agentSkillsDefinition(IResolvable agentSkillsDefinition) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgentSkillsDefinition()- Parameters:
agentSkillsDefinition- The agent skills definition descriptor, populated when the record type is SKILL.- Returns:
this
-
agentSkillsDefinition
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder agentSkillsDefinition(CfnRegistryRecord.AgentSkillsDefinitionDescriptorProperty agentSkillsDefinition) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgentSkillsDefinition()- Parameters:
agentSkillsDefinition- The agent skills definition descriptor, populated when the record type is SKILL.- Returns:
this
-
custom
Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()- Parameters:
custom- The custom descriptor, populated when the record type is CUSTOM.- Returns:
this
-
custom
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder custom(CfnRegistryRecord.CustomDescriptorProperty custom) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()- Parameters:
custom- The custom descriptor, populated when the record type is CUSTOM.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder mcpServer(IResolvable mcpServer) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getMcpServer()- Parameters:
mcpServer- The MCP server descriptor, populated when the record type is MCP.- Returns:
this
-
mcpServer
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder mcpServer(CfnRegistryRecord.McpServerDescriptorProperty mcpServer) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getMcpServer()- Parameters:
mcpServer- The MCP server descriptor, populated when the record type is MCP.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.DescriptorsProperty>- Returns:
- a new instance of
CfnRegistryRecord.DescriptorsProperty - Throws:
NullPointerException- if any required attribute was not provided
-