All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.microcks.operator.api.base.v1alpha1.FeaturesSpecBuilder Maven / Gradle / Ivy

There is a newer version: 0.0.2
Show newest version
package io.github.microcks.operator.api.base.v1alpha1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class FeaturesSpecBuilder extends FeaturesSpecFluent implements VisitableBuilder{
  public FeaturesSpecBuilder() {
    this(new FeaturesSpec());
  }
  
  public FeaturesSpecBuilder(FeaturesSpecFluent fluent) {
    this(fluent, new FeaturesSpec());
  }
  
  public FeaturesSpecBuilder(FeaturesSpecFluent fluent,FeaturesSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public FeaturesSpecBuilder(FeaturesSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  FeaturesSpecFluent fluent;
  
  public FeaturesSpec build() {
    FeaturesSpec buildable = new FeaturesSpec();
    buildable.setAsync(fluent.buildAsync());
    buildable.setRepositoryFilter(fluent.buildRepositoryFilter());
    buildable.setRepositoryTenancy(fluent.buildRepositoryTenancy());
    buildable.setMicrocksHub(fluent.buildMicrocksHub());
    buildable.setAiCopilot(fluent.buildAiCopilot());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy