buildKeepAtLeast

Constructs the keepAtLeast from raw parameters