io.github.microcks.operator.api.base.v1alpha1.PostmanRuntimeSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.base.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class PostmanRuntimeSpecBuilder extends PostmanRuntimeSpecFluent implements VisitableBuilder{
public PostmanRuntimeSpecBuilder() {
this(new PostmanRuntimeSpec());
}
public PostmanRuntimeSpecBuilder(PostmanRuntimeSpecFluent> fluent) {
this(fluent, new PostmanRuntimeSpec());
}
public PostmanRuntimeSpecBuilder(PostmanRuntimeSpecFluent> fluent,PostmanRuntimeSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public PostmanRuntimeSpecBuilder(PostmanRuntimeSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
PostmanRuntimeSpecFluent> fluent;
public PostmanRuntimeSpec build() {
PostmanRuntimeSpec buildable = new PostmanRuntimeSpec();
buildable.setImage(fluent.buildImage());
buildable.setReplicas(fluent.getReplicas());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy