public static final class CfnAppProps.Builder
extends java.lang.Object
CfnAppProps
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAppProps.Builder |
appName(java.lang.String appName)
Sets the value of
CfnAppProps.getAppName() |
CfnAppProps.Builder |
appType(java.lang.String appType)
Sets the value of
CfnAppProps.getAppType() |
CfnAppProps |
build()
Builds the configured instance.
|
CfnAppProps.Builder |
domainId(java.lang.String domainId)
Sets the value of
CfnAppProps.getDomainId() |
CfnAppProps.Builder |
resourceSpec(CfnApp.ResourceSpecProperty resourceSpec)
Sets the value of
CfnAppProps.getResourceSpec() |
CfnAppProps.Builder |
resourceSpec(IResolvable resourceSpec)
Sets the value of
CfnAppProps.getResourceSpec() |
CfnAppProps.Builder |
tags(java.util.List<? extends CfnTag> tags)
Sets the value of
CfnAppProps.getTags() |
CfnAppProps.Builder |
userProfileName(java.lang.String userProfileName)
Sets the value of
CfnAppProps.getUserProfileName() |
public CfnAppProps.Builder appName(java.lang.String appName)
CfnAppProps.getAppName()
appName
- The name of the app. This parameter is required.this
public CfnAppProps.Builder appType(java.lang.String appType)
CfnAppProps.getAppType()
appType
- The type of app. This parameter is required.
Allowed Values : JupyterServer | KernelGateway | RSessionGateway | RStudioServerPro | TensorBoard | Canvas
this
public CfnAppProps.Builder domainId(java.lang.String domainId)
CfnAppProps.getDomainId()
domainId
- The domain ID. This parameter is required.this
public CfnAppProps.Builder userProfileName(java.lang.String userProfileName)
CfnAppProps.getUserProfileName()
userProfileName
- The user profile name. This parameter is required.this
public CfnAppProps.Builder resourceSpec(CfnApp.ResourceSpecProperty resourceSpec)
CfnAppProps.getResourceSpec()
resourceSpec
- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.this
public CfnAppProps.Builder resourceSpec(IResolvable resourceSpec)
CfnAppProps.getResourceSpec()
resourceSpec
- Specifies the ARNs of a SageMaker image and SageMaker image version, and the instance type that the version runs on.this
public CfnAppProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnAppProps.getTags()
tags
- An array of key-value pairs to apply to this resource.
For more information, see Tag .this
public CfnAppProps build()
CfnAppProps
java.lang.NullPointerException
- if any required attribute was not provided