io.kubernetes.client.openapi.models.V2PodsMetricSourceBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
public class V2PodsMetricSourceBuilder extends V2PodsMetricSourceFluent implements VisitableBuilder{
public V2PodsMetricSourceBuilder() {
this(new V2PodsMetricSource());
}
public V2PodsMetricSourceBuilder(V2PodsMetricSourceFluent> fluent) {
this(fluent, new V2PodsMetricSource());
}
public V2PodsMetricSourceBuilder(V2PodsMetricSourceFluent> fluent,V2PodsMetricSource instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public V2PodsMetricSourceBuilder(V2PodsMetricSource instance) {
this.fluent = this;
this.copyInstance(instance);
}
V2PodsMetricSourceFluent> fluent;
public V2PodsMetricSource build() {
V2PodsMetricSource buildable = new V2PodsMetricSource();
buildable.setMetric(fluent.buildMetric());
buildable.setTarget(fluent.buildTarget());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy