Class CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.A2aAgentCardDescriptorProperty>
- Enclosing interface:
CfnRegistryRecord.A2aAgentCardDescriptorProperty
@Stability(Stable)
public static final class CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.A2aAgentCardDescriptorProperty>
A builder for
CfnRegistryRecord.A2aAgentCardDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getData()dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getDataSchemaVersion()source(IResolvable source) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getSource()Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
data
@Stability(Stable) public CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder data(String data) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getData()- Parameters:
data- Descriptor payload data.- Returns:
this
-
dataSchemaVersion
@Stability(Stable) public CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder dataSchemaVersion(String dataSchemaVersion) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getDataSchemaVersion()- Parameters:
dataSchemaVersion- Version of the descriptor type schema.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder source(IResolvable source) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.getSource()- Parameters:
source- The source configuration that defines where descriptor content is retrieved from.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.A2aAgentCardDescriptorProperty.Builder source(CfnRegistryRecord.DescriptorSourceProperty source) Sets the value ofCfnRegistryRecord.A2aAgentCardDescriptorProperty.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.A2aAgentCardDescriptorProperty>- Returns:
- a new instance of
CfnRegistryRecord.A2aAgentCardDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-