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