Interface ResourceSpec.Builder

  • Method Details

    • sageMakerImageArn

      ResourceSpec.Builder sageMakerImageArn(String 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

      ResourceSpec.Builder sageMakerImageVersionArn(String sageMakerImageVersionArn)

      The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.

      Parameters:
      sageMakerImageVersionArn - The ARN of the image version created on the instance. To clear the value set for SageMakerImageVersionArn, pass None as the value.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sageMakerImageVersionAlias

      ResourceSpec.Builder sageMakerImageVersionAlias(String 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

      ResourceSpec.Builder instanceType(String 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 to ml.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 system value.

      For KernelGateway apps, the system value is translated to ml.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

      ResourceSpec.Builder instanceType(AppInstanceType 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 to ml.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 system value.

      For KernelGateway apps, the system value is translated to ml.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

      ResourceSpec.Builder lifecycleConfigArn(String 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

      ResourceSpec.Builder trainingPlanArn(String 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.