Class CfnRegistryRecord.McpServerDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.McpServerDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.McpServerDescriptorProperty>
- Enclosing interface:
CfnRegistryRecord.McpServerDescriptorProperty
@Stability(Stable)
public static final class CfnRegistryRecord.McpServerDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.McpServerDescriptorProperty>
A builder for
CfnRegistryRecord.McpServerDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadditionalData(IResolvable additionalData) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getAdditionalData()additionalData(CfnRegistryRecord.McpServerAdditionalDataProperty additionalData) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getAdditionalData()build()Builds the configured instance.Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getData()dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getDataSchemaVersion()source(IResolvable source) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getSource()Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
additionalData
@Stability(Stable) public CfnRegistryRecord.McpServerDescriptorProperty.Builder additionalData(IResolvable additionalData) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getAdditionalData()- Parameters:
additionalData- Additional data associated with an MCP server descriptor.- Returns:
this
-
additionalData
@Stability(Stable) public CfnRegistryRecord.McpServerDescriptorProperty.Builder additionalData(CfnRegistryRecord.McpServerAdditionalDataProperty additionalData) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getAdditionalData()- Parameters:
additionalData- Additional data associated with an MCP server descriptor.- Returns:
this
-
data
Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getData()- Parameters:
data- Descriptor payload data.- Returns:
this
-
dataSchemaVersion
@Stability(Stable) public CfnRegistryRecord.McpServerDescriptorProperty.Builder dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getDataSchemaVersion()- Parameters:
dataSchemaVersion- Version of the descriptor type schema.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.McpServerDescriptorProperty.Builder source(IResolvable source) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getSource()- Parameters:
source- The source configuration that defines where descriptor content is retrieved from.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.McpServerDescriptorProperty.Builder source(CfnRegistryRecord.DescriptorSourceProperty source) Sets the value ofCfnRegistryRecord.McpServerDescriptorProperty.getSource()- Parameters:
source- The source configuration that defines where descriptor content is retrieved from.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.McpServerDescriptorProperty>- Returns:
- a new instance of
CfnRegistryRecord.McpServerDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-