Class CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.AgentSkillsMdDescriptorProperty>
- Enclosing interface:
CfnRegistryRecord.AgentSkillsMdDescriptorProperty
@Stability(Stable)
public static final class CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.AgentSkillsMdDescriptorProperty>
A builder for
CfnRegistryRecord.AgentSkillsMdDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getData()dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getDataSchemaVersion()source(IResolvable source) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getSource()Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
@Stability(Stable) public CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder data(String data) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getData()- Parameters:
data- Descriptor payload data.- Returns:
this
-
dataSchemaVersion
@Stability(Stable) public CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getDataSchemaVersion()- Parameters:
dataSchemaVersion- Version of the descriptor type schema.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder source(IResolvable source) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getSource()- Parameters:
source- Source configuration for a SkillMd document. Unlike MCP/A2A sources, SkillMd does not support credential providers.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.AgentSkillsMdDescriptorProperty.Builder source(CfnRegistryRecord.SkillMdSourceProperty source) Sets the value ofCfnRegistryRecord.AgentSkillsMdDescriptorProperty.getSource()- Parameters:
source- Source configuration for a SkillMd document. Unlike MCP/A2A sources, SkillMd does not support credential providers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.AgentSkillsMdDescriptorProperty>- Returns:
- a new instance of
CfnRegistryRecord.AgentSkillsMdDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-