Class CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.MCPServerConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.MCPServerConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.MCPServerConfigurationProperty>
A builder for
CfnAssociationPropsMixin.MCPServerConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getDescription()enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getEndpoint()Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getName()Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getTools()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder description(String description) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getDescription()- Parameters:
description- The description of the MCP server.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) - Parameters:
enableWebhookUpdates- When set to true, enables the Agent Space to create and update webhooks for receiving notifications and events from the service.- Returns:
this
-
endpoint
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder endpoint(String endpoint) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getEndpoint()- Parameters:
endpoint- MCP server endpoint URL.- Returns:
this
-
name
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder name(String name) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getName()- Parameters:
name- The name of the MCP server.- Returns:
this
-
tools
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerConfigurationProperty.Builder tools(List<String> tools) Sets the value ofCfnAssociationPropsMixin.MCPServerConfigurationProperty.getTools()- Parameters:
tools- List of MCP tools that can be used with the association.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociationPropsMixin.MCPServerConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.MCPServerConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-