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