Class CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrockagentcore.CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnGatewayTarget.InferenceTargetConfigurationProperty>
- Enclosing interface:
CfnGatewayTarget.InferenceTargetConfigurationProperty
@Stability(Stable)
public static final class CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnGatewayTarget.InferenceTargetConfigurationProperty>
A builder for
CfnGatewayTarget.InferenceTargetConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connector(IResolvable connector) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getConnector()Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getConnector()provider(IResolvable provider) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getProvider()Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getProvider()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connector
@Stability(Stable) public CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder connector(IResolvable connector) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getConnector()- Parameters:
connector- the value to be set.- Returns:
this
-
connector
@Stability(Stable) public CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder connector(CfnGatewayTarget.InferenceConnectorTargetConfigurationProperty connector) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getConnector()- Parameters:
connector- the value to be set.- Returns:
this
-
provider
@Stability(Stable) public CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder provider(IResolvable provider) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
provider
@Stability(Stable) public CfnGatewayTarget.InferenceTargetConfigurationProperty.Builder provider(CfnGatewayTarget.InferenceProviderTargetConfigurationProperty provider) Sets the value ofCfnGatewayTarget.InferenceTargetConfigurationProperty.getProvider()- Parameters:
provider- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnGatewayTarget.InferenceTargetConfigurationProperty>- Returns:
- a new instance of
CfnGatewayTarget.InferenceTargetConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-