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