Class CfnFlow.PerformanceConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.bedrock.CfnFlow.PerformanceConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnFlow.PerformanceConfigurationProperty>
- Enclosing interface:
CfnFlow.PerformanceConfigurationProperty
@Stability(Stable)
public static final class CfnFlow.PerformanceConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnFlow.PerformanceConfigurationProperty>
A builder for
CfnFlow.PerformanceConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnFlow.PerformanceConfigurationProperty.getLatency()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
latency
Sets the value ofCfnFlow.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<CfnFlow.PerformanceConfigurationProperty>- Returns:
- a new instance of
CfnFlow.PerformanceConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-