public ProcessingClusterConfig withInstanceCount(Integer instanceCount) {
        setInstanceCount(instanceCount);
        return this;
    }
<p>
The number of ML compute instances to use in the processing job. For distributed processing jobs, specify a value
greater than 1. The default value is 1.
</p>

@param instanceCount
       The number of ML compute instances to use in the processing job. For distributed processing jobs, specify
       a value greater than 1. The default value is 1.
@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/ProcessingClusterConfig.java