Class CfnModelCardPropsMixin.InferenceSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnModelCardPropsMixin.InferenceSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCardPropsMixin.InferenceSpecificationProperty>
- Enclosing interface:
CfnModelCardPropsMixin.InferenceSpecificationProperty
@Stability(Stable)
public static final class CfnModelCardPropsMixin.InferenceSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCardPropsMixin.InferenceSpecificationProperty>
A builder for
CfnModelCardPropsMixin.InferenceSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.containers(List<? extends Object> containers) Sets the value ofCfnModelCardPropsMixin.InferenceSpecificationProperty.getContainers()containers(IResolvable containers) Sets the value ofCfnModelCardPropsMixin.InferenceSpecificationProperty.getContainers()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
containers
@Stability(Stable) public CfnModelCardPropsMixin.InferenceSpecificationProperty.Builder containers(IResolvable containers) Sets the value ofCfnModelCardPropsMixin.InferenceSpecificationProperty.getContainers()- Parameters:
containers- The Amazon ECR registry path of the Docker image that contains the inference code.- Returns:
this
-
containers
@Stability(Stable) public CfnModelCardPropsMixin.InferenceSpecificationProperty.Builder containers(List<? extends Object> containers) Sets the value ofCfnModelCardPropsMixin.InferenceSpecificationProperty.getContainers()- Parameters:
containers- The Amazon ECR registry path of the Docker image that contains the inference code.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCardPropsMixin.InferenceSpecificationProperty>- Returns:
- a new instance of
CfnModelCardPropsMixin.InferenceSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-