public ProductionVariantSummary withCurrentInstanceCount(Integer currentInstanceCount) {
        setCurrentInstanceCount(currentInstanceCount);
        return this;
    }
<p>
The number of instances associated with the variant.
</p>

@param currentInstanceCount
       The number of instances associated with the variant.
@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/ProductionVariantSummary.java