annotations.io.alauda.kubernetes.api.model.extensions.DoneableRollingUpdateDeployment 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 DoneableRollingUpdateDeployment extends RollingUpdateDeploymentFluentImpl implements Doneable{
private final RollingUpdateDeploymentBuilder builder;
private final io.alauda.kubernetes.api.builder.Function function;
public DoneableRollingUpdateDeployment(io.alauda.kubernetes.api.builder.Function function){
super();this.builder=new RollingUpdateDeploymentBuilder(this);this.function=function;
}
public DoneableRollingUpdateDeployment(RollingUpdateDeployment item,io.alauda.kubernetes.api.builder.Function function){
super(item);this.builder=new RollingUpdateDeploymentBuilder(this, item);this.function=function;
}
public DoneableRollingUpdateDeployment(RollingUpdateDeployment item){
super(item);this.builder=new RollingUpdateDeploymentBuilder(this, item);this.function=new Function() {
public RollingUpdateDeployment apply(RollingUpdateDeployment item) {
return item;
}
}
;
}
public RollingUpdateDeployment done(){
return function.apply(builder.build());
}
}