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