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

io.kubernetes.client.openapi.models.V1FCVolumeSourceBuilder 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 V1FCVolumeSourceBuilder extends V1FCVolumeSourceFluent implements VisitableBuilder{
  public V1FCVolumeSourceBuilder() {
    this(new V1FCVolumeSource());
  }
  
  public V1FCVolumeSourceBuilder(V1FCVolumeSourceFluent fluent) {
    this(fluent, new V1FCVolumeSource());
  }
  
  public V1FCVolumeSourceBuilder(V1FCVolumeSourceFluent fluent,V1FCVolumeSource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1FCVolumeSourceBuilder(V1FCVolumeSource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1FCVolumeSourceFluent fluent;
  
  public V1FCVolumeSource build() {
    V1FCVolumeSource buildable = new V1FCVolumeSource();
    buildable.setFsType(fluent.getFsType());
    buildable.setLun(fluent.getLun());
    buildable.setReadOnly(fluent.getReadOnly());
    buildable.setTargetWWNs(fluent.getTargetWWNs());
    buildable.setWwids(fluent.getWwids());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy