Interface MCPServerGrafanaConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MCPServerGrafanaConfiguration.Builder,,MCPServerGrafanaConfiguration> SdkBuilder<MCPServerGrafanaConfiguration.Builder,,MCPServerGrafanaConfiguration> SdkPojo
- Enclosing class:
MCPServerGrafanaConfiguration
@Mutable
@NotThreadSafe
public static interface MCPServerGrafanaConfiguration.Builder
extends SdkPojo, CopyableBuilder<MCPServerGrafanaConfiguration.Builder,MCPServerGrafanaConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionenabledElevatedTools(Collection<MCPToolDetail> enabledElevatedTools) The subset of elevated-access tools enabled for this integration.enabledElevatedTools(Consumer<MCPToolDetail.Builder>... enabledElevatedTools) The subset of elevated-access tools enabled for this integration.enabledElevatedTools(MCPToolDetail... enabledElevatedTools) The subset of elevated-access tools enabled for this integration.Grafana instance URL (e.g., https://your-instance.grafana.net)organizationId(String organizationId) The Grafana organization ID that can be used.List of MCP tools that can be used.tools(Collection<String> tools) List of MCP tools that can be used.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
endpoint
Grafana instance URL (e.g., https://your-instance.grafana.net)
- Parameters:
endpoint- Grafana instance URL (e.g., https://your-instance.grafana.net)- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
organizationId
The Grafana organization ID that can be used.
- Parameters:
organizationId- The Grafana organization ID that can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
List of MCP tools that can be used.
- Parameters:
tools- List of MCP tools that can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tools
List of MCP tools that can be used.
- Parameters:
tools- List of MCP tools that can be used.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledElevatedTools
MCPServerGrafanaConfiguration.Builder enabledElevatedTools(Collection<MCPToolDetail> enabledElevatedTools) The subset of elevated-access tools enabled for this integration.
- Parameters:
enabledElevatedTools- The subset of elevated-access tools enabled for this integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledElevatedTools
The subset of elevated-access tools enabled for this integration.
- Parameters:
enabledElevatedTools- The subset of elevated-access tools enabled for this integration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabledElevatedTools
MCPServerGrafanaConfiguration.Builder enabledElevatedTools(Consumer<MCPToolDetail.Builder>... enabledElevatedTools) The subset of elevated-access tools enabled for this integration.
This is a convenience method that creates an instance of theMCPToolDetail.Builderavoiding the need to create one manually viaMCPToolDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenabledElevatedTools(List<MCPToolDetail>).- Parameters:
enabledElevatedTools- a consumer that will call methods onMCPToolDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-