Class CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.InferenceOperationConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.InferenceOperationConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.InferenceOperationConfigurationProperty>
A builder for
CfnGatewayTarget.InferenceOperationConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getModels()models(IResolvable models) Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getModels()Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getPath()providerPath(String providerPath)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
path
@Stability(Stable) public CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder path(String path) Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getPath()- Parameters:
path- the value to be set. This parameter is required.- Returns:
this
-
models
@Stability(Stable) public CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder models(IResolvable models) Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getModels()- Parameters:
models- the value to be set.- Returns:
this
-
models
@Stability(Stable) public CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder models(List<? extends Object> models) Sets the value ofCfnGatewayTarget.InferenceOperationConfigurationProperty.getModels()- Parameters:
models- the value to be set.- Returns:
this
-
providerPath
@Stability(Stable) public CfnGatewayTarget.InferenceOperationConfigurationProperty.Builder providerPath(String providerPath) - Parameters:
providerPath- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.InferenceOperationConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.InferenceOperationConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-