Class CfnService.MCPServerGrafanaDetailsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.devopsagent.CfnService.MCPServerGrafanaDetailsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnService.MCPServerGrafanaDetailsProperty>
- Enclosing interface:
CfnService.MCPServerGrafanaDetailsProperty
@Stability(Stable)
public static final class CfnService.MCPServerGrafanaDetailsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnService.MCPServerGrafanaDetailsProperty>
A builder for
CfnService.MCPServerGrafanaDetailsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionauthorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getAuthorizationConfig()authorizationConfig(CfnService.MCPServerGrafanaAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getAuthorizationConfig()build()Builds the configured instance.description(String description) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getDescription()Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getEndpoint()Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
authorizationConfig
@Stability(Stable) public CfnService.MCPServerGrafanaDetailsProperty.Builder authorizationConfig(IResolvable authorizationConfig) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- Grafana MCP server authorization configuration. This parameter is required.- Returns:
this
-
authorizationConfig
@Stability(Stable) public CfnService.MCPServerGrafanaDetailsProperty.Builder authorizationConfig(CfnService.MCPServerGrafanaAuthorizationConfigProperty authorizationConfig) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getAuthorizationConfig()- Parameters:
authorizationConfig- Grafana MCP server authorization configuration. This parameter is required.- Returns:
this
-
endpoint
@Stability(Stable) public CfnService.MCPServerGrafanaDetailsProperty.Builder endpoint(String endpoint) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getEndpoint()- Parameters:
endpoint- MCP server endpoint URL. This parameter is required.- Returns:
this
-
name
Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getName()- Parameters:
name- MCP server name. This parameter is required.- Returns:
this
-
description
@Stability(Stable) public CfnService.MCPServerGrafanaDetailsProperty.Builder description(String description) Sets the value ofCfnService.MCPServerGrafanaDetailsProperty.getDescription()- Parameters:
description- Optional description for the MCP server.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnService.MCPServerGrafanaDetailsProperty>- Returns:
- a new instance of
CfnService.MCPServerGrafanaDetailsProperty - Throws:
NullPointerException- if any required attribute was not provided
-