Class CfnModel.InferenceExecutionConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModel.InferenceExecutionConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModel.InferenceExecutionConfigProperty>
- Enclosing interface:
CfnModel.InferenceExecutionConfigProperty
@Stability(Stable)
public static final class CfnModel.InferenceExecutionConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModel.InferenceExecutionConfigProperty>
A builder for
CfnModel.InferenceExecutionConfigProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnModel.InferenceExecutionConfigProperty.getMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
mode
Sets the value ofCfnModel.InferenceExecutionConfigProperty.getMode()
- Parameters:
mode
- How containers in a multi-container are run. The following values are valid. This parameter is required.Serial
- Containers run as a serial pipeline.Direct
- Only the individual container that you specify is run.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnModel.InferenceExecutionConfigProperty>
- Returns:
- a new instance of
CfnModel.InferenceExecutionConfigProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-