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