Interface ResourceSpec.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ResourceSpec.Builder,,ResourceSpec> SdkBuilder<ResourceSpec.Builder,,ResourceSpec> SdkPojo
- Enclosing class:
ResourceSpec
-
Method Summary
Modifier and TypeMethodDescriptioninstanceType(String instanceType) The instance type that the image version runs on.instanceType(AppInstanceType instanceType) The instance type that the image version runs on.lifecycleConfigArn(String lifecycleConfigArn) The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.sageMakerImageArn(String sageMakerImageArn) The ARN of the SageMaker AI image that the image version belongs to.sageMakerImageVersionAlias(String sageMakerImageVersionAlias) The SageMakerImageVersionAlias of the image to launch with.sageMakerImageVersionArn(String sageMakerImageVersionArn) The ARN of the image version created on the instance.trainingPlanArn(String trainingPlanArn) The ARN of the SageMaker AI Training Plan to use for this app.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
sageMakerImageArn
The ARN of the SageMaker AI image that the image version belongs to.
- Parameters:
sageMakerImageArn- The ARN of the SageMaker AI image that the image version belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerImageVersionArn
The ARN of the image version created on the instance. To clear the value set for
SageMakerImageVersionArn, passNoneas the value.- Parameters:
sageMakerImageVersionArn- The ARN of the image version created on the instance. To clear the value set forSageMakerImageVersionArn, passNoneas the value.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sageMakerImageVersionAlias
The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.
- Parameters:
sageMakerImageVersionAlias- The SageMakerImageVersionAlias of the image to launch with. This value is in SemVer 2.0.0 versioning format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type that the image version runs on.
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.- Parameters:
instanceType- The instance type that the image version runs on.JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type that the image version runs on.
JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.- Parameters:
instanceType- The instance type that the image version runs on.JupyterServer apps only support the
systemvalue.For KernelGateway apps, the
systemvalue is translated toml.t3.medium. KernelGateway apps also support all other values for available instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifecycleConfigArn
The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.
- Parameters:
lifecycleConfigArn- The Amazon Resource Name (ARN) of the Lifecycle Configuration attached to the Resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
trainingPlanArn
The ARN of the SageMaker AI Training Plan to use for this app. When you specify a training plan, the app launches on reserved GPU capacity. This field is supported for JupyterLab and CodeEditor app types.
For more information about how to reserve GPU capacity with SageMaker AI Training Plans, see Using training plans in Studio applications.
- Parameters:
trainingPlanArn- The ARN of the SageMaker AI Training Plan to use for this app. When you specify a training plan, the app launches on reserved GPU capacity. This field is supported for JupyterLab and CodeEditor app types.For more information about how to reserve GPU capacity with SageMaker AI Training Plans, see Using training plans in Studio applications.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-