Class CfnModelCard.InferenceEnvironmentProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.InferenceEnvironmentProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.InferenceEnvironmentProperty>
- Enclosing interface:
- CfnModelCard.InferenceEnvironmentProperty
@Stability(Stable)
public static final class CfnModelCard.InferenceEnvironmentProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.InferenceEnvironmentProperty>
A builder for
CfnModelCard.InferenceEnvironmentProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containerImage(List<String> containerImage) Sets the value ofCfnModelCard.InferenceEnvironmentProperty.getContainerImage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containerImage
@Stability(Stable) public CfnModelCard.InferenceEnvironmentProperty.Builder containerImage(List<String> containerImage) Sets the value ofCfnModelCard.InferenceEnvironmentProperty.getContainerImage()- Parameters:
containerImage- The container used to run the inference environment.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCard.InferenceEnvironmentProperty>- Returns:
- a new instance of
CfnModelCard.InferenceEnvironmentProperty - Throws:
NullPointerException- if any required attribute was not provided
-