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

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

package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1ConfigMapListBuilder extends V1ConfigMapListFluent implements VisitableBuilder{
  public V1ConfigMapListBuilder() {
    this(new V1ConfigMapList());
  }
  
  public V1ConfigMapListBuilder(V1ConfigMapListFluent fluent) {
    this(fluent, new V1ConfigMapList());
  }
  
  public V1ConfigMapListBuilder(V1ConfigMapListFluent fluent,V1ConfigMapList instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1ConfigMapListBuilder(V1ConfigMapList instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1ConfigMapListFluent fluent;
  
  public V1ConfigMapList build() {
    V1ConfigMapList buildable = new V1ConfigMapList();
    buildable.setApiVersion(fluent.getApiVersion());
    buildable.setItems(fluent.buildItems());
    buildable.setKind(fluent.getKind());
    buildable.setMetadata(fluent.buildMetadata());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy