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