annotations.io.alauda.kubernetes.api.model.policy.DoneablePodDisruptionBudgetStatus 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 DoneablePodDisruptionBudgetStatus extends PodDisruptionBudgetStatusFluentImpl implements Doneable{
private final PodDisruptionBudgetStatusBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneablePodDisruptionBudgetStatus(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new PodDisruptionBudgetStatusBuilder(this);this.function=function;
}
public DoneablePodDisruptionBudgetStatus(PodDisruptionBudgetStatus item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new PodDisruptionBudgetStatusBuilder(this, item);this.function=function;
}
public DoneablePodDisruptionBudgetStatus(PodDisruptionBudgetStatus item){
super(item);this.builder=new PodDisruptionBudgetStatusBuilder(this, item);this.function=new Function() {
public PodDisruptionBudgetStatus apply(PodDisruptionBudgetStatus item) {
return item;
}
}
;
}
public PodDisruptionBudgetStatus done(){
return function.apply(builder.build());
}
}