public void setMaximumBatchSize(CapacitySize maximumBatchSize) {
        this.maximumBatchSize = maximumBatchSize;
    }
<p>
Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and
terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total instance
count.
</p>

@param maximumBatchSize
       Batch size for each rolling step to provision capacity and turn on traffic on the new endpoint fleet, and
       terminate capacity on the old endpoint fleet. Value must be between 5% to 50% of the variant's total
       instance count.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/RollingUpdatePolicy.java