Class CfnModelCard.ContainerProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnModelCard.ContainerProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnModelCard.ContainerProperty>
- Enclosing interface:
- CfnModelCard.ContainerProperty
@Stability(Stable)
public static final class CfnModelCard.ContainerProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnModelCard.ContainerProperty>
A builder for
CfnModelCard.ContainerProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnModelCard.ContainerProperty.getImage()modelDataUrl(String modelDataUrl) Sets the value ofCfnModelCard.ContainerProperty.getModelDataUrl()nearestModelName(String nearestModelName) Sets the value ofCfnModelCard.ContainerProperty.getNearestModelName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
image
Sets the value ofCfnModelCard.ContainerProperty.getImage()- Parameters:
image-CfnModelCard.ContainerProperty.Image. This parameter is required.- Returns:
this
-
modelDataUrl
Sets the value ofCfnModelCard.ContainerProperty.getModelDataUrl()- Parameters:
modelDataUrl-CfnModelCard.ContainerProperty.ModelDataUrl.- Returns:
this
-
nearestModelName
@Stability(Stable) public CfnModelCard.ContainerProperty.Builder nearestModelName(String nearestModelName) Sets the value ofCfnModelCard.ContainerProperty.getNearestModelName()- Parameters:
nearestModelName-CfnModelCard.ContainerProperty.NearestModelName.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnModelCard.ContainerProperty>- Returns:
- a new instance of
CfnModelCard.ContainerProperty - Throws:
NullPointerException- if any required attribute was not provided
-