io.fabric8.kubernetes.api.model.apps.StatefulSetStatusBuilder Maven / Gradle / Ivy
The newest version!
package io.fabric8.kubernetes.api.model.apps;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class StatefulSetStatusBuilder extends StatefulSetStatusFluent implements VisitableBuilder{
public StatefulSetStatusBuilder() {
this(new StatefulSetStatus());
}
public StatefulSetStatusBuilder(StatefulSetStatusFluent> fluent) {
this(fluent, new StatefulSetStatus());
}
public StatefulSetStatusBuilder(StatefulSetStatusFluent> fluent,StatefulSetStatus instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public StatefulSetStatusBuilder(StatefulSetStatus instance) {
this.fluent = this;
this.copyInstance(instance);
}
StatefulSetStatusFluent> fluent;
public StatefulSetStatus build() {
StatefulSetStatus buildable = new StatefulSetStatus(fluent.getAvailableReplicas(),fluent.getCollisionCount(),fluent.buildConditions(),fluent.getCurrentReplicas(),fluent.getCurrentRevision(),fluent.getObservedGeneration(),fluent.getReadyReplicas(),fluent.getReplicas(),fluent.getUpdateRevision(),fluent.getUpdatedReplicas());
buildable.setAdditionalProperties(fluent.getAdditionalProperties());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy