io.alauda.kubernetes.api.model.DoneableMultiBranchOrphan Maven / Gradle / Ivy
package io.alauda.kubernetes.api.model;
import io.alauda.kubernetes.api.builder.Function;
public class DoneableMultiBranchOrphan extends MultiBranchOrphanFluentImpl implements Doneable{
private final MultiBranchOrphanBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableMultiBranchOrphan(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new MultiBranchOrphanBuilder(this);this.function=function;
}
public DoneableMultiBranchOrphan(MultiBranchOrphan item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new MultiBranchOrphanBuilder(this, item);this.function=function;
}
public DoneableMultiBranchOrphan(MultiBranchOrphan item){
super(item);this.builder=new MultiBranchOrphanBuilder(this, item);this.function=new Function() {
public MultiBranchOrphan apply(MultiBranchOrphan item) {
return item;
}
}
;
}
public MultiBranchOrphan done(){
return function.apply(builder.build());
}
}