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