Interface InstancePool.Builder

  • Method Details

    • instanceType

      InstancePool.Builder instanceType(String instanceType)

      The ML compute instance type for the instance pool.

      Parameters:
      instanceType - The ML compute instance type for the instance pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • instanceType

      The ML compute instance type for the instance pool.

      Parameters:
      instanceType - The ML compute instance type for the instance pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • modelNameOverride

      InstancePool.Builder modelNameOverride(String modelNameOverride)

      The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. Use this to deploy a different model optimized for the instance type in this pool.

      Parameters:
      modelNameOverride - The name of a SageMaker model to use for this instance pool instead of the model specified for the production variant. Use this to deploy a different model optimized for the instance type in this pool.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • priority

      InstancePool.Builder priority(Integer priority)

      The priority for the instance pool. SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool.

      Valid values: 1 to 5, where 1 is the highest priority.

      Parameters:
      priority - The priority for the instance pool. SageMaker attempts to provision instances in order of priority, starting with the lowest value. If instances for a higher-priority pool are unavailable, SageMaker attempts to provision from the next pool.

      Valid values: 1 to 5, where 1 is the highest priority.

      Returns:
      Returns a reference to this object so that method calls can be chained together.