Class CfnUserProfile.CodeEditorAppSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnUserProfile.CodeEditorAppSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnUserProfile.CodeEditorAppSettingsProperty>
- Enclosing interface:
CfnUserProfile.CodeEditorAppSettingsProperty
@Stability(Stable)
public static final class CfnUserProfile.CodeEditorAppSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnUserProfile.CodeEditorAppSettingsProperty>
A builder for
CfnUserProfile.CodeEditorAppSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getDefaultResourceSpec()defaultResourceSpec(CfnUserProfile.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getDefaultResourceSpec()lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getLifecycleConfigArns()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultResourceSpec
@Stability(Stable) public CfnUserProfile.CodeEditorAppSettingsProperty.Builder defaultResourceSpec(IResolvable defaultResourceSpec) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getDefaultResourceSpec()- Parameters:
defaultResourceSpec- the value to be set.- Returns:
this
-
defaultResourceSpec
@Stability(Stable) public CfnUserProfile.CodeEditorAppSettingsProperty.Builder defaultResourceSpec(CfnUserProfile.ResourceSpecProperty defaultResourceSpec) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getDefaultResourceSpec()- Parameters:
defaultResourceSpec- the value to be set.- Returns:
this
-
lifecycleConfigArns
@Stability(Stable) public CfnUserProfile.CodeEditorAppSettingsProperty.Builder lifecycleConfigArns(List<String> lifecycleConfigArns) Sets the value ofCfnUserProfile.CodeEditorAppSettingsProperty.getLifecycleConfigArns()- Parameters:
lifecycleConfigArns- The Amazon Resource Name (ARN) of the Code Editor application lifecycle configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnUserProfile.CodeEditorAppSettingsProperty>- Returns:
- a new instance of
CfnUserProfile.CodeEditorAppSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-