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