public static final class CfnDomain.ResourceSpecProperty.Builder
extends java.lang.Object
CfnDomain.ResourceSpecProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDomain.ResourceSpecProperty |
build()
Builds the configured instance.
|
CfnDomain.ResourceSpecProperty.Builder |
instanceType(java.lang.String instanceType)
Sets the value of
CfnDomain.ResourceSpecProperty.getInstanceType() |
CfnDomain.ResourceSpecProperty.Builder |
lifecycleConfigArn(java.lang.String lifecycleConfigArn)
Sets the value of
CfnDomain.ResourceSpecProperty.getLifecycleConfigArn() |
CfnDomain.ResourceSpecProperty.Builder |
sageMakerImageArn(java.lang.String sageMakerImageArn)
Sets the value of
CfnDomain.ResourceSpecProperty.getSageMakerImageArn() |
CfnDomain.ResourceSpecProperty.Builder |
sageMakerImageVersionArn(java.lang.String sageMakerImageVersionArn)
Sets the value of
CfnDomain.ResourceSpecProperty.getSageMakerImageVersionArn() |
public CfnDomain.ResourceSpecProperty.Builder instanceType(java.lang.String instanceType)
CfnDomain.ResourceSpecProperty.getInstanceType()
instanceType
- The instance type that the image version runs on.
JupyterServer apps only support the
system
value.For KernelGateway apps , the
system
value is translated toml.t3.medium
. KernelGateway apps also support all other values for available instance types.
this
public CfnDomain.ResourceSpecProperty.Builder lifecycleConfigArn(java.lang.String lifecycleConfigArn)
CfnDomain.ResourceSpecProperty.getLifecycleConfigArn()
lifecycleConfigArn
- The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.this
public CfnDomain.ResourceSpecProperty.Builder sageMakerImageArn(java.lang.String sageMakerImageArn)
CfnDomain.ResourceSpecProperty.getSageMakerImageArn()
sageMakerImageArn
- The ARN of the SageMaker image that the image version belongs to.this
public CfnDomain.ResourceSpecProperty.Builder sageMakerImageVersionArn(java.lang.String sageMakerImageVersionArn)
CfnDomain.ResourceSpecProperty.getSageMakerImageVersionArn()
sageMakerImageVersionArn
- The ARN of the image version created on the instance.this
public CfnDomain.ResourceSpecProperty build()
CfnDomain.ResourceSpecProperty
java.lang.NullPointerException
- if any required attribute was not provided