Class CfnImageVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnImageVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImageVersionMixinProps>
- Enclosing interface:
CfnImageVersionMixinProps
@Stability(Stable)
public static final class CfnImageVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImageVersionMixinProps>
A builder for
CfnImageVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnImageVersionMixinProps.getAlias()Sets the value ofCfnImageVersionMixinProps.getAliases()Sets the value ofCfnImageVersionMixinProps.getBaseImage()build()Builds the configured instance.Sets the value ofCfnImageVersionMixinProps.getHorovod()horovod(IResolvable horovod) Sets the value ofCfnImageVersionMixinProps.getHorovod()Sets the value ofCfnImageVersionMixinProps.getImageName()Sets the value ofCfnImageVersionMixinProps.getJobType()mlFramework(String mlFramework) Sets the value ofCfnImageVersionMixinProps.getMlFramework()Sets the value ofCfnImageVersionMixinProps.getProcessor()programmingLang(String programmingLang) Sets the value ofCfnImageVersionMixinProps.getProgrammingLang()releaseNotes(String releaseNotes) Sets the value ofCfnImageVersionMixinProps.getReleaseNotes()vendorGuidance(String vendorGuidance) Sets the value ofCfnImageVersionMixinProps.getVendorGuidance()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alias
Sets the value ofCfnImageVersionMixinProps.getAlias()- Parameters:
alias- The alias of the image version.- Returns:
this
-
aliases
Sets the value ofCfnImageVersionMixinProps.getAliases()- Parameters:
aliases- List of aliases for the image version.- Returns:
this
-
baseImage
Sets the value ofCfnImageVersionMixinProps.getBaseImage()- Parameters:
baseImage- The container image that the SageMaker image version is based on.- Returns:
this
-
horovod
Sets the value ofCfnImageVersionMixinProps.getHorovod()- Parameters:
horovod- Indicates Horovod compatibility.- Returns:
this
-
horovod
Sets the value ofCfnImageVersionMixinProps.getHorovod()- Parameters:
horovod- Indicates Horovod compatibility.- Returns:
this
-
imageName
Sets the value ofCfnImageVersionMixinProps.getImageName()- Parameters:
imageName- The name of the parent image. Length Constraints : Minimum length of 1. Maximum length of 63.Pattern :
^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$- Returns:
this
-
jobType
Sets the value ofCfnImageVersionMixinProps.getJobType()- Parameters:
jobType- Indicates SageMaker job type compatibility.- Returns:
this
-
mlFramework
Sets the value ofCfnImageVersionMixinProps.getMlFramework()- Parameters:
mlFramework- The machine learning framework vended in the image version.- Returns:
this
-
processor
Sets the value ofCfnImageVersionMixinProps.getProcessor()- Parameters:
processor- Indicates CPU or GPU compatibility.- Returns:
this
-
programmingLang
Sets the value ofCfnImageVersionMixinProps.getProgrammingLang()- Parameters:
programmingLang- The supported programming language and its version.- Returns:
this
-
releaseNotes
Sets the value ofCfnImageVersionMixinProps.getReleaseNotes()- Parameters:
releaseNotes- The maintainer description of the image version.- Returns:
this
-
vendorGuidance
Sets the value ofCfnImageVersionMixinProps.getVendorGuidance()- Parameters:
vendorGuidance- The availability of the image version specified by the maintainer.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnImageVersionMixinProps>- Returns:
- a new instance of
CfnImageVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-