Class CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.Builder
java.lang.Object
software.amazon.awscdk.services.cleanroomsml.CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty>
- Enclosing interface:
CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty
@Stability(Stable)
public static final class CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
unit
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.Builder unit(String unit) Sets the value ofCfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.getUnit()- Parameters:
unit- the value to be set. This parameter is required.- Returns:
this
-
value
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.Builder value(Number value) Sets the value ofCfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty.getValue()- Parameters:
value- the value to be set. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty>- Returns:
- a new instance of
CfnConfiguredModelAlgorithmAssociation.TrainedModelInferenceMaxOutputSizeProperty - Throws:
NullPointerException- if any required attribute was not provided
-