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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class V1PhotonPersistentDiskVolumeSourceBuilder extends V1PhotonPersistentDiskVolumeSourceFluentImpl implements VisitableBuilder{
  public V1PhotonPersistentDiskVolumeSourceBuilder() {
    this(false);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(Boolean validationEnabled) {
    this(new V1PhotonPersistentDiskVolumeSource(), validationEnabled);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSourceFluent fluent) {
    this(fluent, false);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSourceFluent fluent,Boolean validationEnabled) {
    this(fluent, new V1PhotonPersistentDiskVolumeSource(), validationEnabled);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSourceFluent fluent,V1PhotonPersistentDiskVolumeSource instance) {
    this(fluent, instance, false);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSourceFluent fluent,V1PhotonPersistentDiskVolumeSource instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withFsType(instance.getFsType());

    fluent.withPdID(instance.getPdID());

    this.validationEnabled = validationEnabled; 
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSource instance) {
    this(instance,false);
  }
  public V1PhotonPersistentDiskVolumeSourceBuilder(V1PhotonPersistentDiskVolumeSource instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withFsType(instance.getFsType());

    this.withPdID(instance.getPdID());

    this.validationEnabled = validationEnabled; 
  }
  V1PhotonPersistentDiskVolumeSourceFluent fluent;
  Boolean validationEnabled;
  public V1PhotonPersistentDiskVolumeSource build() {
    V1PhotonPersistentDiskVolumeSource buildable = new V1PhotonPersistentDiskVolumeSource();
    buildable.setFsType(fluent.getFsType());
    buildable.setPdID(fluent.getPdID());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy