Class CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty>
- Enclosing interface:
CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty
@Stability(Stable)
public static final class CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enableWebhookUpdates(Boolean enableWebhookUpdates) enableWebhookUpdates(IResolvable enableWebhookUpdates)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enableWebhookUpdates
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.Builder enableWebhookUpdates(Boolean enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.getEnableWebhookUpdates()- 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.MCPServerGrafanaConfigurationProperty.Builder enableWebhookUpdates(IResolvable enableWebhookUpdates) Sets the value ofCfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.getEnableWebhookUpdates()- 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.MCPServerGrafanaConfigurationProperty.Builder endpoint(String endpoint) - Parameters:
endpoint- MCP server endpoint URL.- Returns:
this
-
tools
@Stability(Stable) public CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty.Builder tools(List<String> tools) - 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<CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty>- Returns:
- a new instance of
CfnAssociationPropsMixin.MCPServerGrafanaConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-