setGenerator

public final Unit setGenerator(GeneratorType generator)