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