io.fabric8.kubernetes.api.model.DoneableContainerStatus Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import io.fabric8.kubernetes.api.builder.Function;
public class DoneableContainerStatus extends ContainerStatusFluentImpl implements Doneable{
private final ContainerStatusBuilder builder;
private final io.fabric8.kubernetes.api.builder.Function function;
public DoneableContainerStatus(io.fabric8.kubernetes.api.builder.Function function){
super();this.builder=new ContainerStatusBuilder(this);this.function=function;
}
public DoneableContainerStatus(ContainerStatus item,io.fabric8.kubernetes.api.builder.Function function){
super(item);this.builder=new ContainerStatusBuilder(this, item);this.function=function;
}
public DoneableContainerStatus(ContainerStatus item){
super(item);this.builder=new ContainerStatusBuilder(this, item);this.function=new Function() {
public ContainerStatus apply(ContainerStatus item) {
return item;
}
}
;
}
public ContainerStatus done(){
return function.apply(builder.build());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy