Class CfnInferenceExperiment.RealTimeInferenceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnInferenceExperiment.RealTimeInferenceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceExperiment.RealTimeInferenceConfigProperty>
- Enclosing interface:
CfnInferenceExperiment.RealTimeInferenceConfigProperty
@Stability(Stable)
public static final class CfnInferenceExperiment.RealTimeInferenceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceExperiment.RealTimeInferenceConfigProperty>
A builder for
CfnInferenceExperiment.RealTimeInferenceConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceCount(Number instanceCount) instanceType(String instanceType) Sets the value ofCfnInferenceExperiment.RealTimeInferenceConfigProperty.getInstanceType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceCount
@Stability(Stable) public CfnInferenceExperiment.RealTimeInferenceConfigProperty.Builder instanceCount(Number instanceCount) - Parameters:
instanceCount- The number of instances of the type specified byInstanceType. This parameter is required.- Returns:
this
-
instanceType
@Stability(Stable) public CfnInferenceExperiment.RealTimeInferenceConfigProperty.Builder instanceType(String instanceType) Sets the value ofCfnInferenceExperiment.RealTimeInferenceConfigProperty.getInstanceType()- Parameters:
instanceType- The instance type the model is deployed to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceExperiment.RealTimeInferenceConfigProperty>- Returns:
- a new instance of
CfnInferenceExperiment.RealTimeInferenceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-