public InstanceHardware withCpuCount(Integer cpuCount) {
        setCpuCount(cpuCount);
        return this;
    }
<p>
The number of vCPUs the instance has.
</p>

@param cpuCount
       The number of vCPUs the instance has.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/InstanceHardware.java