public ReservedInstancesListing withInstanceCounts(java.util.Collection<InstanceCount> instanceCounts) {
        setInstanceCounts(instanceCounts);
        return this;
    }
<p>
The number of instances in this state.
</p>

@param instanceCounts
       The number of instances in this state.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ReservedInstancesListing.java