Class CfnDomain.CustomImageProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnDomain.CustomImageProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDomain.CustomImageProperty>
- Enclosing interface:
CfnDomain.CustomImageProperty
@Stability(Stable)
public static final class CfnDomain.CustomImageProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDomain.CustomImageProperty>
A builder for
CfnDomain.CustomImageProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionappImageConfigName(String appImageConfigName) Sets the value ofCfnDomain.CustomImageProperty.getAppImageConfigName()build()Builds the configured instance.Sets the value ofCfnDomain.CustomImageProperty.getImageName()imageVersionNumber(Number imageVersionNumber) Sets the value ofCfnDomain.CustomImageProperty.getImageVersionNumber()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appImageConfigName
@Stability(Stable) public CfnDomain.CustomImageProperty.Builder appImageConfigName(String appImageConfigName) Sets the value ofCfnDomain.CustomImageProperty.getAppImageConfigName()- Parameters:
appImageConfigName- The name of the AppImageConfig. This parameter is required.- Returns:
this
-
imageName
Sets the value ofCfnDomain.CustomImageProperty.getImageName()- Parameters:
imageName- The name of the CustomImage. This parameter is required. Must be unique to your account.- Returns:
this
-
imageVersionNumber
@Stability(Stable) public CfnDomain.CustomImageProperty.Builder imageVersionNumber(Number imageVersionNumber) Sets the value ofCfnDomain.CustomImageProperty.getImageVersionNumber()- Parameters:
imageVersionNumber- The version number of the CustomImage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDomain.CustomImageProperty>- Returns:
- a new instance of
CfnDomain.CustomImageProperty - Throws:
NullPointerException- if any required attribute was not provided
-