io.fabric8.kubernetes.api.model.autoscaling.v2.ObjectMetricStatusBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.kubernetes.api.model.autoscaling.v2;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ObjectMetricStatusBuilder extends ObjectMetricStatusFluent implements VisitableBuilder{
public ObjectMetricStatusBuilder() {
this(new ObjectMetricStatus());
}
public ObjectMetricStatusBuilder(ObjectMetricStatusFluent> fluent) {
this(fluent, new ObjectMetricStatus());
}
public ObjectMetricStatusBuilder(ObjectMetricStatusFluent> fluent,ObjectMetricStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public ObjectMetricStatusBuilder(ObjectMetricStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
ObjectMetricStatusFluent> fluent;
public ObjectMetricStatus build() {
ObjectMetricStatus buildable = new ObjectMetricStatus(fluent.buildCurrent(),fluent.buildDescribedObject(),fluent.buildMetric());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}