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

io.kubernetes.client.openapi.models.V1EmptyDirVolumeSourceBuilder 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 V1EmptyDirVolumeSourceBuilder extends V1EmptyDirVolumeSourceFluentImpl implements VisitableBuilder{
  public V1EmptyDirVolumeSourceBuilder() {
    this(false);
  }
  public V1EmptyDirVolumeSourceBuilder(Boolean validationEnabled) {
    this(new V1EmptyDirVolumeSource(), validationEnabled);
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSourceFluent fluent) {
    this(fluent, false);
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSourceFluent fluent,Boolean validationEnabled) {
    this(fluent, new V1EmptyDirVolumeSource(), validationEnabled);
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSourceFluent fluent,V1EmptyDirVolumeSource instance) {
    this(fluent, instance, false);
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSourceFluent fluent,V1EmptyDirVolumeSource instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    if (instance != null) {
      fluent.withMedium(instance.getMedium());
      fluent.withSizeLimit(instance.getSizeLimit());
    }
    this.validationEnabled = validationEnabled; 
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSource instance) {
    this(instance,false);
  }
  public V1EmptyDirVolumeSourceBuilder(V1EmptyDirVolumeSource instance,Boolean validationEnabled) {
    this.fluent = this; 
    if (instance != null) {
      this.withMedium(instance.getMedium());
      this.withSizeLimit(instance.getSizeLimit());
    }
    this.validationEnabled = validationEnabled; 
  }
  V1EmptyDirVolumeSourceFluent fluent;
  Boolean validationEnabled;
  public V1EmptyDirVolumeSource build() {
    V1EmptyDirVolumeSource buildable = new V1EmptyDirVolumeSource();
    buildable.setMedium(fluent.getMedium());
    buildable.setSizeLimit(fluent.getSizeLimit());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy