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