io.kubernetes.client.openapi.models.V1DownwardAPIVolumeFileBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1DownwardAPIVolumeFileBuilder extends V1DownwardAPIVolumeFileFluentImpl implements VisitableBuilder{
public V1DownwardAPIVolumeFileBuilder() {
this(false);
}
public V1DownwardAPIVolumeFileBuilder(Boolean validationEnabled) {
this(new V1DownwardAPIVolumeFile(), validationEnabled);
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFileFluent> fluent) {
this(fluent, false);
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFileFluent> fluent,Boolean validationEnabled) {
this(fluent, new V1DownwardAPIVolumeFile(), validationEnabled);
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFileFluent> fluent,V1DownwardAPIVolumeFile instance) {
this(fluent, instance, false);
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFileFluent> fluent,V1DownwardAPIVolumeFile instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withFieldRef(instance.getFieldRef());
fluent.withMode(instance.getMode());
fluent.withPath(instance.getPath());
fluent.withResourceFieldRef(instance.getResourceFieldRef());
this.validationEnabled = validationEnabled;
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFile instance) {
this(instance,false);
}
public V1DownwardAPIVolumeFileBuilder(V1DownwardAPIVolumeFile instance,Boolean validationEnabled) {
this.fluent = this;
this.withFieldRef(instance.getFieldRef());
this.withMode(instance.getMode());
this.withPath(instance.getPath());
this.withResourceFieldRef(instance.getResourceFieldRef());
this.validationEnabled = validationEnabled;
}
V1DownwardAPIVolumeFileFluent> fluent;
Boolean validationEnabled;
public V1DownwardAPIVolumeFile build() {
V1DownwardAPIVolumeFile buildable = new V1DownwardAPIVolumeFile();
buildable.setFieldRef(fluent.getFieldRef());
buildable.setMode(fluent.getMode());
buildable.setPath(fluent.getPath());
buildable.setResourceFieldRef(fluent.getResourceFieldRef());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy