Class CfnAppMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnAppMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAppMixinProps>
- Enclosing interface:
CfnAppMixinProps
@Stability(Stable)
public static final class CfnAppMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAppMixinProps>
A builder for
CfnAppMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnAppMixinProps.getAppName()Sets the value ofCfnAppMixinProps.getAppType()build()Builds the configured instance.Sets the value ofCfnAppMixinProps.getDomainId()recoveryMode(Boolean recoveryMode) Sets the value ofCfnAppMixinProps.getRecoveryMode()recoveryMode(IResolvable recoveryMode) Sets the value ofCfnAppMixinProps.getRecoveryMode()resourceSpec(CfnAppPropsMixin.ResourceSpecProperty resourceSpec) Sets the value ofCfnAppMixinProps.getResourceSpec()resourceSpec(IResolvable resourceSpec) Sets the value ofCfnAppMixinProps.getResourceSpec()Sets the value ofCfnAppMixinProps.getTags()userProfileName(String userProfileName) Sets the value ofCfnAppMixinProps.getUserProfileName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
appName
Sets the value ofCfnAppMixinProps.getAppName()- Parameters:
appName- The name of the app.- Returns:
this
-
appType
Sets the value ofCfnAppMixinProps.getAppType()- Parameters:
appType- The type of app.- Returns:
this
-
domainId
Sets the value ofCfnAppMixinProps.getDomainId()- Parameters:
domainId- The domain ID.- Returns:
this
-
recoveryMode
Sets the value ofCfnAppMixinProps.getRecoveryMode()- Parameters:
recoveryMode- Indicates whether the application is launched in recovery mode.- Returns:
this
-
recoveryMode
Sets the value ofCfnAppMixinProps.getRecoveryMode()- Parameters:
recoveryMode- Indicates whether the application is launched in recovery mode.- Returns:
this
-
resourceSpec
Sets the value ofCfnAppMixinProps.getResourceSpec()- Parameters:
resourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Returns:
this
-
resourceSpec
@Stability(Stable) public CfnAppMixinProps.Builder resourceSpec(CfnAppPropsMixin.ResourceSpecProperty resourceSpec) Sets the value ofCfnAppMixinProps.getResourceSpec()- Parameters:
resourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Returns:
this
-
tags
Sets the value ofCfnAppMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
userProfileName
Sets the value ofCfnAppMixinProps.getUserProfileName()- Parameters:
userProfileName- The user profile name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAppMixinProps>- Returns:
- a new instance of
CfnAppMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-