io.fabric8.kubernetes.api.model.DoneableIntOrString Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableIntOrString extends IntOrStringFluentImpl implements Doneable{
private final IntOrStringBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableIntOrString(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new IntOrStringBuilder(this);this.function=function;
}
public DoneableIntOrString(IntOrString item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new IntOrStringBuilder(this, item);this.function=function;
}
public DoneableIntOrString(IntOrString item){
super(item);this.builder=new IntOrStringBuilder(this, item);this.function=new Function() {
public IntOrString apply(IntOrString item) {
return item;
}
}
;
}
public IntOrString done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy