Class CfnRegistryRecord.McpServerAdditionalDataProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.McpServerAdditionalDataProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.McpServerAdditionalDataProperty>
- Enclosing interface:
CfnRegistryRecord.McpServerAdditionalDataProperty
@Stability(Stable)
public static final class CfnRegistryRecord.McpServerAdditionalDataProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.McpServerAdditionalDataProperty>
A builder for
CfnRegistryRecord.McpServerAdditionalDataProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.tools(IResolvable tools) Sets the value ofCfnRegistryRecord.McpServerAdditionalDataProperty.getTools()Sets the value ofCfnRegistryRecord.McpServerAdditionalDataProperty.getTools()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
tools
@Stability(Stable) public CfnRegistryRecord.McpServerAdditionalDataProperty.Builder tools(IResolvable tools) Sets the value ofCfnRegistryRecord.McpServerAdditionalDataProperty.getTools()- Parameters:
tools- The MCP tools descriptor.- Returns:
this
-
tools
@Stability(Stable) public CfnRegistryRecord.McpServerAdditionalDataProperty.Builder tools(CfnRegistryRecord.McpToolsDescriptorProperty tools) Sets the value ofCfnRegistryRecord.McpServerAdditionalDataProperty.getTools()- Parameters:
tools- The MCP tools descriptor.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.McpServerAdditionalDataProperty>- Returns:
- a new instance of
CfnRegistryRecord.McpServerAdditionalDataProperty - Throws:
NullPointerException- if any required attribute was not provided
-