public ProductionVariantManagedInstanceScaling withMaxInstanceCount(Integer maxInstanceCount) {
        setMaxInstanceCount(maxInstanceCount);
        return this;
    }
<p>
The maximum number of instances that the endpoint can provision when it scales up to accommodate an increase in
traffic.
</p>

@param maxInstanceCount
       The maximum number of instances that the endpoint can provision when it scales up to accommodate an
       increase in traffic.
@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/ProductionVariantManagedInstanceScaling.java