Class CfnImageVersion.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnImageVersion.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnImageVersion>
- Enclosing class:
CfnImageVersion
@Stability(Stable)
public static final class CfnImageVersion.Builder
extends Object
implements software.amazon.jsii.Builder<CfnImageVersion>
A fluent builder for
CfnImageVersion
.-
Method Summary
Modifier and TypeMethodDescriptionThe alias of the image version.List of aliases for the image version.The container image that the SageMaker image version is based on.build()
static CfnImageVersion.Builder
Indicates Horovod compatibility.horovod
(IResolvable horovod) Indicates Horovod compatibility.The name of the parent image.Indicates SageMaker job type compatibility.mlFramework
(String mlFramework) The machine learning framework vended in the image version.Indicates CPU or GPU compatibility.programmingLang
(String programmingLang) The supported programming language and its version.releaseNotes
(String releaseNotes) The maintainer description of the image version.vendorGuidance
(String vendorGuidance) The availability of the image version specified by the maintainer.
-
Method Details
-
create
@Stability(Stable) public static CfnImageVersion.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnImageVersion.Builder
.
-
baseImage
The container image that the SageMaker image version is based on.- Parameters:
baseImage
- The container image that the SageMaker image version is based on. This parameter is required.- Returns:
this
- See Also:
-
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}$
- Parameters:
imageName
- The name of the parent image. This parameter is required.- Returns:
this
- See Also:
-
alias
The alias of the image version.- Parameters:
alias
- The alias of the image version. This parameter is required.- Returns:
this
- See Also:
-
aliases
List of aliases for the image version.- Parameters:
aliases
- List of aliases for the image version. This parameter is required.- Returns:
this
- See Also:
-
horovod
Indicates Horovod compatibility.- Parameters:
horovod
- Indicates Horovod compatibility. This parameter is required.- Returns:
this
- See Also:
-
horovod
Indicates Horovod compatibility.- Parameters:
horovod
- Indicates Horovod compatibility. This parameter is required.- Returns:
this
- See Also:
-
jobType
Indicates SageMaker job type compatibility.- Parameters:
jobType
- Indicates SageMaker job type compatibility. This parameter is required.- Returns:
this
- See Also:
-
mlFramework
The machine learning framework vended in the image version.- Parameters:
mlFramework
- The machine learning framework vended in the image version. This parameter is required.- Returns:
this
- See Also:
-
processor
Indicates CPU or GPU compatibility.- Parameters:
processor
- Indicates CPU or GPU compatibility. This parameter is required.- Returns:
this
- See Also:
-
programmingLang
The supported programming language and its version.- Parameters:
programmingLang
- The supported programming language and its version. This parameter is required.- Returns:
this
- See Also:
-
releaseNotes
The maintainer description of the image version.- Parameters:
releaseNotes
- The maintainer description of the image version. This parameter is required.- Returns:
this
- See Also:
-
vendorGuidance
The availability of the image version specified by the maintainer.- Parameters:
vendorGuidance
- The availability of the image version specified by the maintainer. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnImageVersion>
- Returns:
- a newly built instance of
CfnImageVersion
.
-