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