copyWith

fun copyWith(group: String = this.group, partition: Int = this.partition, owner: String = this.owner, epoch: Long = this.epoch, expiresAt: Long = this.expiresAt): Lease

This Lease with the given fields replaced: Wow's own copy, left out of the ABI.