Class CfnRegistryRecord.HttpDescriptorProperty.Builder
java.lang.Object
software.amazon.awscdk.services.agentregistry.CfnRegistryRecord.HttpDescriptorProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRegistryRecord.HttpDescriptorProperty>
- Enclosing interface:
CfnRegistryRecord.HttpDescriptorProperty
@Stability(Stable)
public static final class CfnRegistryRecord.HttpDescriptorProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRegistryRecord.HttpDescriptorProperty>
A builder for
CfnRegistryRecord.HttpDescriptorProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.source(IResolvable source) Sets the value ofCfnRegistryRecord.HttpDescriptorProperty.getSource()Sets the value ofCfnRegistryRecord.HttpDescriptorProperty.getSource()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
source
@Stability(Stable) public CfnRegistryRecord.HttpDescriptorProperty.Builder source(IResolvable source) Sets the value ofCfnRegistryRecord.HttpDescriptorProperty.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.HttpDescriptorProperty.Builder source(CfnRegistryRecord.SourceOnlyDescriptorSourceProperty source) Sets the value ofCfnRegistryRecord.HttpDescriptorProperty.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.HttpDescriptorProperty>- Returns:
- a new instance of
CfnRegistryRecord.HttpDescriptorProperty - Throws:
NullPointerException- if any required attribute was not provided
-