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