io.fabric8.kubernetes.api.model.apps.RollingUpdateStatefulSetStrategyBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.kubernetes.api.model.apps;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class RollingUpdateStatefulSetStrategyBuilder extends RollingUpdateStatefulSetStrategyFluent implements VisitableBuilder{
public RollingUpdateStatefulSetStrategyBuilder() {
this(new RollingUpdateStatefulSetStrategy());
}
public RollingUpdateStatefulSetStrategyBuilder(RollingUpdateStatefulSetStrategyFluent> fluent) {
this(fluent, new RollingUpdateStatefulSetStrategy());
}
public RollingUpdateStatefulSetStrategyBuilder(RollingUpdateStatefulSetStrategyFluent> fluent,RollingUpdateStatefulSetStrategy instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public RollingUpdateStatefulSetStrategyBuilder(RollingUpdateStatefulSetStrategy instance) {
this.fluent = this;
this.copyInstance(instance);
}
RollingUpdateStatefulSetStrategyFluent> fluent;
public RollingUpdateStatefulSetStrategy build() {
RollingUpdateStatefulSetStrategy buildable = new RollingUpdateStatefulSetStrategy(fluent.buildMaxUnavailable(),fluent.getPartition());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy