Interface ResourceSpec.Builder

All Superinterfaces:
Buildable, CopyableBuilder<ResourceSpec.Builder,ResourceSpec>, SdkBuilder<ResourceSpec.Builder,ResourceSpec>, SdkPojo
Enclosing class:
ResourceSpec

public static interface ResourceSpec.Builder extends SdkPojo, CopyableBuilder<ResourceSpec.Builder,ResourceSpec>
  • Method Details

    • sageMakerImageArn

      ResourceSpec.Builder sageMakerImageArn(String sageMakerImageArn)

      The ARN of the SageMaker image that the image version belongs to.

      Parameters:
      sageMakerImageArn - The ARN of the SageMaker 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.

      Parameters:
      sageMakerImageVersionArn - The ARN of the image version created on the instance.
      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.