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