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()sessionConfiguration(IResolvable sessionConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSessionConfiguration()sessionConfiguration(CfnGateway.SessionConfigurationProperty sessionConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSessionConfiguration()streamingConfiguration(IResolvable streamingConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getStreamingConfiguration()streamingConfiguration(CfnGateway.StreamingConfigurationProperty streamingConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getStreamingConfiguration()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
-
sessionConfiguration
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder sessionConfiguration(IResolvable sessionConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSessionConfiguration()- Parameters:
sessionConfiguration- the value to be set.- Returns:
this
-
sessionConfiguration
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder sessionConfiguration(CfnGateway.SessionConfigurationProperty sessionConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getSessionConfiguration()- Parameters:
sessionConfiguration- the value to be set.- Returns:
this
-
streamingConfiguration
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder streamingConfiguration(IResolvable streamingConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getStreamingConfiguration()- Parameters:
streamingConfiguration- the value to be set.- Returns:
this
-
streamingConfiguration
@Stability(Stable) public CfnGateway.MCPGatewayConfigurationProperty.Builder streamingConfiguration(CfnGateway.StreamingConfigurationProperty streamingConfiguration) Sets the value ofCfnGateway.MCPGatewayConfigurationProperty.getStreamingConfiguration()- Parameters:
streamingConfiguration- the value to be set.- 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
-