public void setCores(Long cores) {
        this.cores = cores;
    }
<p>
The number of CPU cores on the source server.
</p>

@param cores
       The number of CPU cores on the source server.
aws-java-sdk-mgn/src/main/java/com/amazonaws/services/mgn/model/CPU.java