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