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