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