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

io.kubernetes.client.openapi.models.V1CinderVolumeSourceBuilder 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 V1CinderVolumeSourceBuilder extends V1CinderVolumeSourceFluent implements VisitableBuilder{
  public V1CinderVolumeSourceBuilder() {
    this(new V1CinderVolumeSource());
  }
  
  public V1CinderVolumeSourceBuilder(V1CinderVolumeSourceFluent fluent) {
    this(fluent, new V1CinderVolumeSource());
  }
  
  public V1CinderVolumeSourceBuilder(V1CinderVolumeSourceFluent fluent,V1CinderVolumeSource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1CinderVolumeSourceBuilder(V1CinderVolumeSource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1CinderVolumeSourceFluent fluent;
  
  public V1CinderVolumeSource build() {
    V1CinderVolumeSource buildable = new V1CinderVolumeSource();
    buildable.setFsType(fluent.getFsType());
    buildable.setReadOnly(fluent.getReadOnly());
    buildable.setSecretRef(fluent.buildSecretRef());
    buildable.setVolumeID(fluent.getVolumeID());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy