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()agui(IResolvable agui) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgui()Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgui()build()Builds the configured instance.custom(IResolvable custom) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()Sets the value ofCfnRegistryRecord.DescriptorsProperty.getCustom()http(IResolvable http) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getHttp()Sets the value ofCfnRegistryRecord.DescriptorsProperty.getHttp()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
-
agui
Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgui()- Parameters:
agui- The AG-UI (Agent-User Interaction) descriptor, populated for records detected from an AG-UI protocol source. This descriptor is source-only: its content is synchronized from the configured source URL rather than supplied inline.- Returns:
this
-
agui
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder agui(CfnRegistryRecord.AgUiDescriptorProperty agui) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getAgui()- Parameters:
agui- The AG-UI (Agent-User Interaction) descriptor, populated for records detected from an AG-UI protocol source. This descriptor is source-only: its content is synchronized from the configured source URL rather than supplied inline.- 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
-
http
Sets the value ofCfnRegistryRecord.DescriptorsProperty.getHttp()- Parameters:
http- The HTTP descriptor, populated for records detected from an HTTP protocol source. This descriptor is source-only: its content is synchronized from the configured source URL rather than supplied inline.- Returns:
this
-
http
@Stability(Stable) public CfnRegistryRecord.DescriptorsProperty.Builder http(CfnRegistryRecord.HttpDescriptorProperty http) Sets the value ofCfnRegistryRecord.DescriptorsProperty.getHttp()- Parameters:
http- The HTTP descriptor, populated for records detected from an HTTP protocol source. This descriptor is source-only: its content is synchronized from the configured source URL rather than supplied inline.- 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
-