public void setMaxInstanceCount(Integer maxInstanceCount) {
        this.maxInstanceCount = maxInstanceCount;
    }
<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.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ProductionVariantManagedInstanceScaling.java