io.kubernetes.client.openapi.models.V1GlusterfsPersistentVolumeSourceBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1GlusterfsPersistentVolumeSourceBuilder extends V1GlusterfsPersistentVolumeSourceFluent implements VisitableBuilder{
public V1GlusterfsPersistentVolumeSourceBuilder() {
this(new V1GlusterfsPersistentVolumeSource());
}
public V1GlusterfsPersistentVolumeSourceBuilder(V1GlusterfsPersistentVolumeSourceFluent> fluent) {
this(fluent, new V1GlusterfsPersistentVolumeSource());
}
public V1GlusterfsPersistentVolumeSourceBuilder(V1GlusterfsPersistentVolumeSourceFluent> fluent,V1GlusterfsPersistentVolumeSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1GlusterfsPersistentVolumeSourceBuilder(V1GlusterfsPersistentVolumeSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1GlusterfsPersistentVolumeSourceFluent> fluent;
public V1GlusterfsPersistentVolumeSource build() {
V1GlusterfsPersistentVolumeSource buildable = new V1GlusterfsPersistentVolumeSource();
buildable.setEndpoints(fluent.getEndpoints());
buildable.setEndpointsNamespace(fluent.getEndpointsNamespace());
buildable.setPath(fluent.getPath());
buildable.setReadOnly(fluent.getReadOnly());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy