public ClusterInstanceGroupDetails withThreadsPerCore(Integer threadsPerCore) {
        setThreadsPerCore(threadsPerCore);
        return this;
    }
<p>
The number you specified to <code>TreadsPerCore</code> in <code>CreateCluster</code> for enabling or disabling
multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading
and 2 for enabling multithreading. For more information, see the reference table of <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">CPU cores
and threads per CPU core per instance type</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
</p>

@param threadsPerCore
       The number you specified to <code>TreadsPerCore</code> in <code>CreateCluster</code> for enabling or
       disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling
       multithreading and 2 for enabling multithreading. For more information, see the reference table of <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">CPU
       cores and threads per CPU core per instance type</a> in the <i>Amazon Elastic Compute Cloud User
       Guide</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ClusterInstanceGroupDetails.java