Class CfnRegistryRecord.AgUiDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.AgUiDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.AgUiDescriptorProperty>
- Enclosing interface:
CfnRegistryRecord.AgUiDescriptorProperty
@Stability(Stable)
public static final class CfnRegistryRecord.AgUiDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.AgUiDescriptorProperty>
A builder for
CfnRegistryRecord.AgUiDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.source(IResolvable source) Sets the value ofCfnRegistryRecord.AgUiDescriptorProperty.getSource()Sets the value ofCfnRegistryRecord.AgUiDescriptorProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
@Stability(Stable) public CfnRegistryRecord.AgUiDescriptorProperty.Builder source(IResolvable source) Sets the value ofCfnRegistryRecord.AgUiDescriptorProperty.getSource()- Parameters:
source- Source configuration for a source-only descriptor. Unlike mcpServer/a2aAgentCard sources, source-only descriptors do not support credential providers.- Returns:
this
-
source
@Stability(Stable) public CfnRegistryRecord.AgUiDescriptorProperty.Builder source(CfnRegistryRecord.SourceOnlyDescriptorSourceProperty source) Sets the value ofCfnRegistryRecord.AgUiDescriptorProperty.getSource()- Parameters:
source- Source configuration for a source-only descriptor. Unlike mcpServer/a2aAgentCard sources, source-only descriptors do not support credential providers.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRegistryRecord.AgUiDescriptorProperty>- Returns:
- a new instance of
CfnRegistryRecord.AgUiDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-