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

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

The newest version!
package io.kubernetes.client.openapi.models;

import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta1CounterSetBuilder extends V1beta1CounterSetFluent implements VisitableBuilder{
  public V1beta1CounterSetBuilder() {
    this(new V1beta1CounterSet());
  }
  
  public V1beta1CounterSetBuilder(V1beta1CounterSetFluent fluent) {
    this(fluent, new V1beta1CounterSet());
  }
  
  public V1beta1CounterSetBuilder(V1beta1CounterSetFluent fluent,V1beta1CounterSet instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public V1beta1CounterSetBuilder(V1beta1CounterSet instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  V1beta1CounterSetFluent fluent;
  
  public V1beta1CounterSet build() {
    V1beta1CounterSet buildable = new V1beta1CounterSet();
    buildable.setCounters(fluent.getCounters());
    buildable.setName(fluent.getName());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy