public static final class CfnImageVersionProps.Builder
extends java.lang.Object
CfnImageVersionProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnImageVersionProps.Builder |
baseImage(java.lang.String baseImage)
Sets the value of
CfnImageVersionProps.getBaseImage() |
CfnImageVersionProps |
build()
Builds the configured instance.
|
CfnImageVersionProps.Builder |
imageName(java.lang.String imageName)
Sets the value of
CfnImageVersionProps.getImageName() |
public CfnImageVersionProps.Builder baseImage(java.lang.String baseImage)
CfnImageVersionProps.getBaseImage()
baseImage
- The container image that the SageMaker image version is based on. This parameter is required.
Length Constraints : Minimum length of 1. Maximum length of 255.
Pattern : .*
this
public CfnImageVersionProps.Builder imageName(java.lang.String imageName)
CfnImageVersionProps.getImageName()
imageName
- The name of the parent image. This parameter is required.
Length Constraints : Minimum length of 1. Maximum length of 63.
Pattern : ^[a-zA-Z0-9]([-.]?[a-zA-Z0-9]){0,62}$
this
public CfnImageVersionProps build()
CfnImageVersionProps
java.lang.NullPointerException
- if any required attribute was not provided