public void setCores(java.util.Collection<Core> cores) {
        if (cores == null) {
            this.cores = null;
            return;
        }

        this.cores = new java.util.ArrayList<Core>(cores);
    }
A list of cores in the core definition version.

@param cores
       A list of cores in the core definition version.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/CreateCoreDefinitionVersionRequest.java