io.kubernetes.client.openapi.models.V1beta2CounterSetBuilder Maven / Gradle / Ivy
The newest version!
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V1beta2CounterSetBuilder extends V1beta2CounterSetFluent implements VisitableBuilder{
public V1beta2CounterSetBuilder() {
this(new V1beta2CounterSet());
}
public V1beta2CounterSetBuilder(V1beta2CounterSetFluent> fluent) {
this(fluent, new V1beta2CounterSet());
}
public V1beta2CounterSetBuilder(V1beta2CounterSetFluent> fluent,V1beta2CounterSet instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V1beta2CounterSetBuilder(V1beta2CounterSet instance) {
this.fluent = this;
this.copyInstance(instance);
}
V1beta2CounterSetFluent> fluent;
public V1beta2CounterSet build() {
V1beta2CounterSet buildable = new V1beta2CounterSet();
buildable.setCounters(fluent.getCounters());
buildable.setName(fluent.getName());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy