All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kubernetes.client.openapi.models.V1NFSVolumeSourceBuilder Maven / Gradle / Ivy

There is a newer version: 22.0.0
Show newest version
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1NFSVolumeSourceBuilder extends V1NFSVolumeSourceFluentImpl implements VisitableBuilder{
  public V1NFSVolumeSourceBuilder() {
    this(false);
  }
  public V1NFSVolumeSourceBuilder(Boolean validationEnabled) {
    this(new V1NFSVolumeSource(), validationEnabled);
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent fluent) {
    this(fluent, false);
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent fluent,Boolean validationEnabled) {
    this(fluent, new V1NFSVolumeSource(), validationEnabled);
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent fluent,V1NFSVolumeSource instance) {
    this(fluent, instance, false);
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSourceFluent fluent,V1NFSVolumeSource instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withPath(instance.getPath());

    fluent.withReadOnly(instance.getReadOnly());

    fluent.withServer(instance.getServer());

    this.validationEnabled = validationEnabled; 
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSource instance) {
    this(instance,false);
  }
  public V1NFSVolumeSourceBuilder(V1NFSVolumeSource instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withPath(instance.getPath());

    this.withReadOnly(instance.getReadOnly());

    this.withServer(instance.getServer());

    this.validationEnabled = validationEnabled; 
  }
  V1NFSVolumeSourceFluent fluent;
  Boolean validationEnabled;
  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