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