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