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