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