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