io.kubernetes.client.openapi.models.V1NFSVolumeSourceBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1NFSVolumeSourceBuilder extends V1NFSVolumeSourceFluent implements VisitableBuilder{
public V1NFSVolumeSourceBuilder() {
this(new V1NFSVolumeSource());
}
public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent> fluent) {
this(fluent, new V1NFSVolumeSource());
}
public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent> fluent,V1NFSVolumeSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1NFSVolumeSourceBuilder(V1NFSVolumeSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1NFSVolumeSourceFluent> fluent;
public V1NFSVolumeSource build() {
V1NFSVolumeSource buildable = new V1NFSVolumeSource();
buildable.setPath(fluent.getPath());
buildable.setReadOnly(fluent.getReadOnly());
buildable.setServer(fluent.getServer());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy