Class CfnAssociation.MCPServerDatadogConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnAssociation.MCPServerDatadogConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociation.MCPServerDatadogConfigurationProperty>
- Enclosing interface:
CfnAssociation.MCPServerDatadogConfigurationProperty
@Stability(Stable)
public static final class CfnAssociation.MCPServerDatadogConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociation.MCPServerDatadogConfigurationProperty>
A builder for
CfnAssociation.MCPServerDatadogConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getDescription()enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getEndpoint()Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
endpoint
@Stability(Stable) public CfnAssociation.MCPServerDatadogConfigurationProperty.Builder endpoint(String endpoint) Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getEndpoint()- Parameters:
endpoint- MCP server endpoint URL. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public CfnAssociation.MCPServerDatadogConfigurationProperty.Builder name(String name) Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getName()- Parameters:
name- The name of the MCP server. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnAssociation.MCPServerDatadogConfigurationProperty.Builder description(String description) Sets the value ofCfnAssociation.MCPServerDatadogConfigurationProperty.getDescription()- Parameters:
description- The description of the MCP server.- Returns:
this
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociation.MCPServerDatadogConfigurationProperty.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 CfnAssociation.MCPServerDatadogConfigurationProperty.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
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAssociation.MCPServerDatadogConfigurationProperty>- Returns:
- a new instance of
CfnAssociation.MCPServerDatadogConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-