Class CfnStudioLifecycleConfig.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnStudioLifecycleConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStudioLifecycleConfig>
- Enclosing class:
CfnStudioLifecycleConfig
@Stability(Stable)
public static final class CfnStudioLifecycleConfig.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStudioLifecycleConfig>
A fluent builder for
CfnStudioLifecycleConfig
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
studioLifecycleConfigAppType
(String studioLifecycleConfigAppType) The App type to which the Lifecycle Configuration is attached.studioLifecycleConfigContent
(String studioLifecycleConfigContent) The content of your Amazon SageMaker Studio Lifecycle Configuration script.studioLifecycleConfigName
(String studioLifecycleConfigName) The name of the Amazon SageMaker AI Studio Lifecycle Configuration.Tags to be associated with the Lifecycle Configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnStudioLifecycleConfig.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnStudioLifecycleConfig.Builder
.
-
studioLifecycleConfigAppType
@Stability(Stable) public CfnStudioLifecycleConfig.Builder studioLifecycleConfigAppType(String studioLifecycleConfigAppType) The App type to which the Lifecycle Configuration is attached.- Parameters:
studioLifecycleConfigAppType
- The App type to which the Lifecycle Configuration is attached. This parameter is required.- Returns:
this
- See Also:
-
studioLifecycleConfigContent
@Stability(Stable) public CfnStudioLifecycleConfig.Builder studioLifecycleConfigContent(String studioLifecycleConfigContent) The content of your Amazon SageMaker Studio Lifecycle Configuration script.This content must be base64 encoded.
- Parameters:
studioLifecycleConfigContent
- The content of your Amazon SageMaker Studio Lifecycle Configuration script. This parameter is required.- Returns:
this
- See Also:
-
studioLifecycleConfigName
@Stability(Stable) public CfnStudioLifecycleConfig.Builder studioLifecycleConfigName(String studioLifecycleConfigName) The name of the Amazon SageMaker AI Studio Lifecycle Configuration.- Parameters:
studioLifecycleConfigName
- The name of the Amazon SageMaker AI Studio Lifecycle Configuration. This parameter is required.- Returns:
this
- See Also:
-
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.
- Parameters:
tags
- Tags to be associated with the Lifecycle Configuration. This parameter is required.- Returns:
this
- See Also:
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnStudioLifecycleConfig>
- Returns:
- a newly built instance of
CfnStudioLifecycleConfig
.
-