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