@Override
  public ThisT deleteWith(Consumer<String> deleteCallback) {
    Preconditions.checkArgument(
        this.deleteFunc == defaultDelete, "Cannot set delete callback more than once");
    this.deleteFunc = deleteCallback;
    return self();
  }
A setter for the target branch on which snapshot producer operation should be performed

@param branch to set as target branch
iceberg/patched-iceberg-core/src/main/java/org/apache/iceberg/SnapshotProducer.java