Class CfnApp.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnApp.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnApp>
- Enclosing class:
CfnApp
@Stability(Stable)
public static final class CfnApp.Builder
extends Object
implements software.amazon.jsii.Builder<CfnApp>
A fluent builder for
CfnApp.-
Method Summary
Modifier and TypeMethodDescriptionThe name of the app.The type of app.build()static CfnApp.BuilderThe domain ID.resourceSpec(IResolvable resourceSpec) Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.resourceSpec(CfnApp.ResourceSpecProperty resourceSpec) Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.An array of key-value pairs to apply to this resource.userProfileName(String userProfileName) The user profile name.
-
Method Details
-
create
@Stability(Stable) public static CfnApp.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
CfnApp.Builder.
-
appName
The name of the app.- Parameters:
appName- The name of the app. This parameter is required.- Returns:
this- See Also:
-
appType
The type of app.- Parameters:
appType- The type of app. This parameter is required.- Returns:
this- See Also:
-
domainId
The domain ID.- Parameters:
domainId- The domain ID. This parameter is required.- Returns:
this- See Also:
-
userProfileName
The user profile name.- Parameters:
userProfileName- The user profile name. This parameter is required.- Returns:
this- See Also:
-
resourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Parameters:
resourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. This parameter is required.- Returns:
this- See Also:
-
resourceSpec
Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.- Parameters:
resourceSpec- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on. This parameter is required.- Returns:
this- See Also:
-
tags
An array of key-value pairs to apply to this resource.For more information, see Tag .
- Parameters:
tags- An array of key-value pairs to apply to this resource. This parameter is required.- Returns:
this- See Also:
-
build
-