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

io.kubernetes.client.openapi.models.V1ScaleIOVolumeSourceBuilder 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;
public class V1ScaleIOVolumeSourceBuilder extends V1ScaleIOVolumeSourceFluent implements VisitableBuilder{
  public V1ScaleIOVolumeSourceBuilder() {
    this(new V1ScaleIOVolumeSource());
  }
  
  public V1ScaleIOVolumeSourceBuilder(V1ScaleIOVolumeSourceFluent fluent) {
    this(fluent, new V1ScaleIOVolumeSource());
  }
  
  public V1ScaleIOVolumeSourceBuilder(V1ScaleIOVolumeSourceFluent fluent,V1ScaleIOVolumeSource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1ScaleIOVolumeSourceBuilder(V1ScaleIOVolumeSource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1ScaleIOVolumeSourceFluent fluent;
  
  public V1ScaleIOVolumeSource build() {
    V1ScaleIOVolumeSource buildable = new V1ScaleIOVolumeSource();
    buildable.setFsType(fluent.getFsType());
    buildable.setGateway(fluent.getGateway());
    buildable.setProtectionDomain(fluent.getProtectionDomain());
    buildable.setReadOnly(fluent.getReadOnly());
    buildable.setSecretRef(fluent.buildSecretRef());
    buildable.setSslEnabled(fluent.getSslEnabled());
    buildable.setStorageMode(fluent.getStorageMode());
    buildable.setStoragePool(fluent.getStoragePool());
    buildable.setSystem(fluent.getSystem());
    buildable.setVolumeName(fluent.getVolumeName());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy