Class CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.devopsagent.CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnServicePropsMixin.MCPServerAuthorizationConfigProperty>
- Enclosing interface:
CfnServicePropsMixin.MCPServerAuthorizationConfigProperty
@Stability(Stable)
public static final class CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnServicePropsMixin.MCPServerAuthorizationConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getApiKey()apiKey(IResolvable apiKey) Sets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getApiKey()build()Builds the configured instance.oAuthClientCredentials(CfnServicePropsMixin.MCPServerOAuthClientCredentialsConfigProperty oAuthClientCredentials) oAuthClientCredentials(IResolvable oAuthClientCredentials)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
apiKey
@Stability(Stable) public CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder apiKey(IResolvable apiKey) Sets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getApiKey()- Parameters:
apiKey- API key authentication details.- Returns:
this
-
apiKey
@Stability(Stable) public CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder apiKey(CfnServicePropsMixin.ApiKeyDetailsProperty apiKey) Sets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getApiKey()- Parameters:
apiKey- API key authentication details.- Returns:
this
-
oAuthClientCredentials
@Stability(Stable) public CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder oAuthClientCredentials(IResolvable oAuthClientCredentials) Sets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getOAuthClientCredentials()- Parameters:
oAuthClientCredentials- MCP server OAuth client credentials configuration.- Returns:
this
-
oAuthClientCredentials
@Stability(Stable) public CfnServicePropsMixin.MCPServerAuthorizationConfigProperty.Builder oAuthClientCredentials(CfnServicePropsMixin.MCPServerOAuthClientCredentialsConfigProperty oAuthClientCredentials) Sets the value ofCfnServicePropsMixin.MCPServerAuthorizationConfigProperty.getOAuthClientCredentials()- Parameters:
oAuthClientCredentials- MCP server OAuth client credentials configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnServicePropsMixin.MCPServerAuthorizationConfigProperty>- Returns:
- a new instance of
CfnServicePropsMixin.MCPServerAuthorizationConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-