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