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