io.fabric8.kubernetes.api.model.extensions.RollingUpdateDaemonSetBuilder Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model.extensions;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RollingUpdateDaemonSetBuilder extends RollingUpdateDaemonSetFluent implements VisitableBuilder{
public RollingUpdateDaemonSetBuilder() {
this(new RollingUpdateDaemonSet());
}
public RollingUpdateDaemonSetBuilder(RollingUpdateDaemonSetFluent> fluent) {
this(fluent, new RollingUpdateDaemonSet());
}
public RollingUpdateDaemonSetBuilder(RollingUpdateDaemonSetFluent> fluent,RollingUpdateDaemonSet instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RollingUpdateDaemonSetBuilder(RollingUpdateDaemonSet instance) {
this.fluent = this;
this.copyInstance(instance);
}
RollingUpdateDaemonSetFluent> fluent;
public RollingUpdateDaemonSet build() {
RollingUpdateDaemonSet buildable = new RollingUpdateDaemonSet(fluent.buildMaxSurge(),fluent.buildMaxUnavailable());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}