io.fabric8.autoscaling.api.model.v1.VerticalPodAutoscalerCheckpointStatusBuilder Maven / Gradle / Ivy
package io.fabric8.autoscaling.api.model.v1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class VerticalPodAutoscalerCheckpointStatusBuilder extends VerticalPodAutoscalerCheckpointStatusFluent implements VisitableBuilder{
public VerticalPodAutoscalerCheckpointStatusBuilder() {
this(new VerticalPodAutoscalerCheckpointStatus());
}
public VerticalPodAutoscalerCheckpointStatusBuilder(VerticalPodAutoscalerCheckpointStatusFluent> fluent) {
this(fluent, new VerticalPodAutoscalerCheckpointStatus());
}
public VerticalPodAutoscalerCheckpointStatusBuilder(VerticalPodAutoscalerCheckpointStatusFluent> fluent,VerticalPodAutoscalerCheckpointStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public VerticalPodAutoscalerCheckpointStatusBuilder(VerticalPodAutoscalerCheckpointStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
VerticalPodAutoscalerCheckpointStatusFluent> fluent;
public VerticalPodAutoscalerCheckpointStatus build() {
VerticalPodAutoscalerCheckpointStatus buildable = new VerticalPodAutoscalerCheckpointStatus(fluent.buildCpuHistogram(),fluent.getFirstSampleStart(),fluent.getLastSampleStart(),fluent.getLastUpdateTime(),fluent.buildMemoryHistogram(),fluent.getTotalSamplesCount(),fluent.getVersion());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
} © 2015 - 2025 Weber Informatics LLC | Privacy Policy