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