Class CfnStudioLifecycleConfigProps.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnStudioLifecycleConfigProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioLifecycleConfigProps>
- Enclosing interface:
CfnStudioLifecycleConfigProps
@Stability(Stable)
public static final class CfnStudioLifecycleConfigProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioLifecycleConfigProps>
A builder for
CfnStudioLifecycleConfigProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.studioLifecycleConfigAppType
(String studioLifecycleConfigAppType) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigAppType()
studioLifecycleConfigContent
(String studioLifecycleConfigContent) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigContent()
studioLifecycleConfigName
(String studioLifecycleConfigName) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigName()
Sets the value ofCfnStudioLifecycleConfigProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
studioLifecycleConfigAppType
@Stability(Stable) public CfnStudioLifecycleConfigProps.Builder studioLifecycleConfigAppType(String studioLifecycleConfigAppType) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigAppType()
- Parameters:
studioLifecycleConfigAppType
- The App type to which the Lifecycle Configuration is attached. This parameter is required.- Returns:
this
-
studioLifecycleConfigContent
@Stability(Stable) public CfnStudioLifecycleConfigProps.Builder studioLifecycleConfigContent(String studioLifecycleConfigContent) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigContent()
- Parameters:
studioLifecycleConfigContent
- The content of your Amazon SageMaker Studio Lifecycle Configuration script. This parameter is required. This content must be base64 encoded.- Returns:
this
-
studioLifecycleConfigName
@Stability(Stable) public CfnStudioLifecycleConfigProps.Builder studioLifecycleConfigName(String studioLifecycleConfigName) Sets the value ofCfnStudioLifecycleConfigProps.getStudioLifecycleConfigName()
- Parameters:
studioLifecycleConfigName
- The name of the Amazon SageMaker AI Studio Lifecycle Configuration. This parameter is required.- Returns:
this
-
tags
Sets the value ofCfnStudioLifecycleConfigProps.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioLifecycleConfigProps>
- Returns:
- a new instance of
CfnStudioLifecycleConfigProps
- Throws:
NullPointerException
- if any required attribute was not provided
-