Class CfnFlowVersion.PerformanceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlowVersion.PerformanceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlowVersion.PerformanceConfigurationProperty>
- Enclosing interface:
CfnFlowVersion.PerformanceConfigurationProperty
@Stability(Stable)
public static final class CfnFlowVersion.PerformanceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlowVersion.PerformanceConfigurationProperty>
A builder for
CfnFlowVersion.PerformanceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlowVersion.PerformanceConfigurationProperty.getLatency()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
latency
@Stability(Stable) public CfnFlowVersion.PerformanceConfigurationProperty.Builder latency(String latency) Sets the value ofCfnFlowVersion.PerformanceConfigurationProperty.getLatency()- Parameters:
latency- To use a latency-optimized version of the model, set tooptimized.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnFlowVersion.PerformanceConfigurationProperty>- Returns:
- a new instance of
CfnFlowVersion.PerformanceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-