Class CfnStudioLifecycleConfigMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnStudioLifecycleConfigMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioLifecycleConfigMixinProps>
- Enclosing interface:
CfnStudioLifecycleConfigMixinProps
@Stability(Stable)
public static final class CfnStudioLifecycleConfigMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioLifecycleConfigMixinProps>
A builder for
CfnStudioLifecycleConfigMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.studioLifecycleConfigAppType(String studioLifecycleConfigAppType) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigAppType()studioLifecycleConfigContent(String studioLifecycleConfigContent) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigContent()studioLifecycleConfigName(String studioLifecycleConfigName) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigName()Sets the value ofCfnStudioLifecycleConfigMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
studioLifecycleConfigAppType
@Stability(Stable) public CfnStudioLifecycleConfigMixinProps.Builder studioLifecycleConfigAppType(String studioLifecycleConfigAppType) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigAppType()- Parameters:
studioLifecycleConfigAppType- The App type to which the Lifecycle Configuration is attached.- Returns:
this
-
studioLifecycleConfigContent
@Stability(Stable) public CfnStudioLifecycleConfigMixinProps.Builder studioLifecycleConfigContent(String studioLifecycleConfigContent) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigContent()- Parameters:
studioLifecycleConfigContent- The content of your Amazon SageMaker Studio Lifecycle Configuration script. This content must be base64 encoded.- Returns:
this
-
studioLifecycleConfigName
@Stability(Stable) public CfnStudioLifecycleConfigMixinProps.Builder studioLifecycleConfigName(String studioLifecycleConfigName) Sets the value ofCfnStudioLifecycleConfigMixinProps.getStudioLifecycleConfigName()- Parameters:
studioLifecycleConfigName- The name of the Amazon SageMaker AI Studio Lifecycle Configuration.- Returns:
this
-
tags
@Stability(Stable) public CfnStudioLifecycleConfigMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnStudioLifecycleConfigMixinProps.getTags()- Parameters:
tags- Tags to be associated with the Lifecycle Configuration. Each tag consists of a key and an optional value. Tag keys must be unique per resource. Tags are searchable using the Search API.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStudioLifecycleConfigMixinProps>- Returns:
- a new instance of
CfnStudioLifecycleConfigMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-