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

io.kubernetes.client.openapi.models.V1VolumeAttachmentSourceBuilder 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 V1VolumeAttachmentSourceBuilder extends V1VolumeAttachmentSourceFluent implements VisitableBuilder{
  public V1VolumeAttachmentSourceBuilder() {
    this(new V1VolumeAttachmentSource());
  }
  
  public V1VolumeAttachmentSourceBuilder(V1VolumeAttachmentSourceFluent fluent) {
    this(fluent, new V1VolumeAttachmentSource());
  }
  
  public V1VolumeAttachmentSourceBuilder(V1VolumeAttachmentSourceFluent fluent,V1VolumeAttachmentSource instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1VolumeAttachmentSourceBuilder(V1VolumeAttachmentSource instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1VolumeAttachmentSourceFluent fluent;
  
  public V1VolumeAttachmentSource build() {
    V1VolumeAttachmentSource buildable = new V1VolumeAttachmentSource();
    buildable.setInlineVolumeSpec(fluent.buildInlineVolumeSpec());
    buildable.setPersistentVolumeName(fluent.getPersistentVolumeName());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy