io.github.microcks.operator.api.base.v1alpha1.AICopilotSpecBuilder Maven / Gradle / Ivy
package io.github.microcks.operator.api.base.v1alpha1;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class AICopilotSpecBuilder extends AICopilotSpecFluent implements VisitableBuilder{
public AICopilotSpecBuilder() {
this(new AICopilotSpec());
}
public AICopilotSpecBuilder(AICopilotSpecFluent> fluent) {
this(fluent, new AICopilotSpec());
}
public AICopilotSpecBuilder(AICopilotSpecFluent> fluent,AICopilotSpec instance) {
this.fluent = fluent;
fluent.copyInstance(instance);
}
public AICopilotSpecBuilder(AICopilotSpec instance) {
this.fluent = this;
this.copyInstance(instance);
}
AICopilotSpecFluent> fluent;
public AICopilotSpec build() {
AICopilotSpec buildable = new AICopilotSpec();
buildable.setEnabled(fluent.isEnabled());
buildable.setImplementation(fluent.getImplementation());
buildable.setOpenai(fluent.buildOpenai());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy