Class CfnGateway.MCPGatewayConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGateway.MCPGatewayConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGateway.MCPGatewayConfigurationProperty>
- Enclosing interface:
CfnGateway.MCPGatewayConfigurationProperty
@Stability(Stable)
public static final class CfnGateway.MCPGatewayConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGateway.MCPGatewayConfigurationProperty>
A builder for
CfnGateway.MCPGatewayConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instructions(String instructions) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getInstructions()searchType(String searchType) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSearchType()supportedVersions(List<String> supportedVersions) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSupportedVersions()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instructions
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder instructions(String instructions) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getInstructions()- Parameters:
instructions- the value to be set.- Returns:
this
-
searchType
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder searchType(String searchType) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSearchType()- Parameters:
searchType- The MCP gateway configuration search type.- Returns:
this
-
supportedVersions
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder supportedVersions(List<String> supportedVersions) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSupportedVersions()- Parameters:
supportedVersions- The supported versions for the MCP configuration for the gateway target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGateway.MCPGatewayConfigurationProperty>- Returns:
- a new instance of
CfnGateway.MCPGatewayConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-