io.kubernetes.client.openapi.models.CoreV1EventSeriesBuilder Maven / Gradle / Ivy
package io.kubernetes.client.openapi.models;
import io.kubernetes.client.fluent.VisitableBuilder;
import java.lang.Boolean;
public class CoreV1EventSeriesBuilder extends CoreV1EventSeriesFluentImpl implements VisitableBuilder{
public CoreV1EventSeriesBuilder() {
this(false);
}
public CoreV1EventSeriesBuilder(Boolean validationEnabled) {
this(new CoreV1EventSeries(), validationEnabled);
}
public CoreV1EventSeriesBuilder(CoreV1EventSeriesFluent> fluent) {
this(fluent, false);
}
public CoreV1EventSeriesBuilder(CoreV1EventSeriesFluent> fluent,Boolean validationEnabled) {
this(fluent, new CoreV1EventSeries(), validationEnabled);
}
public CoreV1EventSeriesBuilder(CoreV1EventSeriesFluent> fluent,CoreV1EventSeries instance) {
this(fluent, instance, false);
}
public CoreV1EventSeriesBuilder(CoreV1EventSeriesFluent> fluent,CoreV1EventSeries instance,Boolean validationEnabled) {
this.fluent = fluent;
if (instance != null) {
fluent.withCount(instance.getCount());
fluent.withLastObservedTime(instance.getLastObservedTime());
}
this.validationEnabled = validationEnabled;
}
public CoreV1EventSeriesBuilder(CoreV1EventSeries instance) {
this(instance,false);
}
public CoreV1EventSeriesBuilder(CoreV1EventSeries instance,Boolean validationEnabled) {
this.fluent = this;
if (instance != null) {
this.withCount(instance.getCount());
this.withLastObservedTime(instance.getLastObservedTime());
}
this.validationEnabled = validationEnabled;
}
CoreV1EventSeriesFluent> fluent;
Boolean validationEnabled;
public CoreV1EventSeries build() {
CoreV1EventSeries buildable = new CoreV1EventSeries();
buildable.setCount(fluent.getCount());
buildable.setLastObservedTime(fluent.getLastObservedTime());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy