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