Class CfnGateway.GatewayProtocolConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGateway.GatewayProtocolConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGateway.GatewayProtocolConfigurationProperty>
- Enclosing interface:
CfnGateway.GatewayProtocolConfigurationProperty
@Stability(Stable)
public static final class CfnGateway.GatewayProtocolConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGateway.GatewayProtocolConfigurationProperty>
A builder for
CfnGateway.GatewayProtocolConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.mcp(IResolvable mcp) Sets the value ofCfnGateway.GatewayProtocolConfigurationProperty.getMcp()Sets the value ofCfnGateway.GatewayProtocolConfigurationProperty.getMcp()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mcp
@Stability(Stable) public CfnGateway.GatewayProtocolConfigurationProperty.Builder mcp(IResolvable mcp) Sets the value ofCfnGateway.GatewayProtocolConfigurationProperty.getMcp()- Parameters:
mcp- The gateway protocol configuration for MCP. This parameter is required.- Returns:
this
-
mcp
@Stability(Stable) public CfnGateway.GatewayProtocolConfigurationProperty.Builder mcp(CfnGateway.MCPGatewayConfigurationProperty mcp) Sets the value ofCfnGateway.GatewayProtocolConfigurationProperty.getMcp()- Parameters:
mcp- The gateway protocol configuration for MCP. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGateway.GatewayProtocolConfigurationProperty>- Returns:
- a new instance of
CfnGateway.GatewayProtocolConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-