public ReservedInstance withInstanceCount(Integer instanceCount) {
        setInstanceCount(instanceCount);
        return this;
    }
<p>
The number of OpenSearch instances that have been reserved.
</p>

@param instanceCount
       The number of OpenSearch instances that have been reserved.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opensearch/src/main/java/com/amazonaws/services/opensearch/model/ReservedInstance.java