You can create your own domain class based off the Uints. A good example is the Wei class.

You will need to provide the super constructor the constructor of your class.

public final class Wei extends BaseUInt256Value<Wei> {
...
  private Wei(UInt256 bytes) {
    super(bytes, Wei::new);
  }
...
}