public static final class CfnUserProfile.ResourceSpecProperty.Builder
extends java.lang.Object
CfnUserProfile.ResourceSpecProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnUserProfile.ResourceSpecProperty |
build()
Builds the configured instance.
|
CfnUserProfile.ResourceSpecProperty.Builder |
instanceType(java.lang.String instanceType)
Sets the value of
CfnUserProfile.ResourceSpecProperty.getInstanceType() |
CfnUserProfile.ResourceSpecProperty.Builder |
sageMakerImageArn(java.lang.String sageMakerImageArn)
Sets the value of
CfnUserProfile.ResourceSpecProperty.getSageMakerImageArn() |
CfnUserProfile.ResourceSpecProperty.Builder |
sageMakerImageVersionArn(java.lang.String sageMakerImageVersionArn)
Sets the value of
CfnUserProfile.ResourceSpecProperty.getSageMakerImageVersionArn() |
public CfnUserProfile.ResourceSpecProperty.Builder instanceType(java.lang.String instanceType)
CfnUserProfile.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 CfnUserProfile.ResourceSpecProperty.Builder sageMakerImageArn(java.lang.String sageMakerImageArn)
CfnUserProfile.ResourceSpecProperty.getSageMakerImageArn()
sageMakerImageArn
- The ARN of the SageMaker image that the image version belongs to.this
public CfnUserProfile.ResourceSpecProperty.Builder sageMakerImageVersionArn(java.lang.String sageMakerImageVersionArn)
CfnUserProfile.ResourceSpecProperty.getSageMakerImageVersionArn()
sageMakerImageVersionArn
- The ARN of the image version created on the instance.this
public CfnUserProfile.ResourceSpecProperty build()
CfnUserProfile.ResourceSpecProperty
java.lang.NullPointerException
- if any required attribute was not provided