Class CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.DeployedImageProperty>
- Enclosing interface:
CfnInferenceComponentPropsMixin.DeployedImageProperty
@Stability(Stable)
public static final class CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.DeployedImageProperty>
A builder for
CfnInferenceComponentPropsMixin.DeployedImageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.resolutionTime(String resolutionTime) resolvedImage(String resolvedImage) Sets the value ofCfnInferenceComponentPropsMixin.DeployedImageProperty.getResolvedImage()specifiedImage(String specifiedImage)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resolutionTime
@Stability(Stable) public CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder resolutionTime(String resolutionTime) - Parameters:
resolutionTime- The date and time when the image path for the model resolved to theResolvedImage.- Returns:
this
-
resolvedImage
@Stability(Stable) public CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder resolvedImage(String resolvedImage) Sets the value ofCfnInferenceComponentPropsMixin.DeployedImageProperty.getResolvedImage()- Parameters:
resolvedImage- The specific digest path of the image hosted in thisProductionVariant.- Returns:
this
-
specifiedImage
@Stability(Stable) public CfnInferenceComponentPropsMixin.DeployedImageProperty.Builder specifiedImage(String specifiedImage) - Parameters:
specifiedImage- The image path you specified when you created the model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnInferenceComponentPropsMixin.DeployedImageProperty>- Returns:
- a new instance of
CfnInferenceComponentPropsMixin.DeployedImageProperty - Throws:
NullPointerException- if any required attribute was not provided
-