public void setCoreCount(Integer coreCount) {
        this.coreCount = coreCount;
    }
<p>
The number of CPU cores for the instance.
</p>

@param coreCount
       The number of CPU cores for the instance.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/LaunchTemplateCpuOptionsRequest.java