annotations.io.alauda.kubernetes.api.model.apiextensions.DoneableCustomResourceDefinitionStatus 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 DoneableCustomResourceDefinitionStatus extends CustomResourceDefinitionStatusFluentImpl implements Doneable{
private final CustomResourceDefinitionStatusBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableCustomResourceDefinitionStatus(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new CustomResourceDefinitionStatusBuilder(this);this.function=function;
}
public DoneableCustomResourceDefinitionStatus(CustomResourceDefinitionStatus item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new CustomResourceDefinitionStatusBuilder(this, item);this.function=function;
}
public DoneableCustomResourceDefinitionStatus(CustomResourceDefinitionStatus item){
super(item);this.builder=new CustomResourceDefinitionStatusBuilder(this, item);this.function=new Function() {
public CustomResourceDefinitionStatus apply(CustomResourceDefinitionStatus item) {
return item;
}
}
;
}
public CustomResourceDefinitionStatus done(){
return function.apply(builder.build());
}
}