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

io.github.microcks.operator.api.base.v1alpha1.MicrocksHubSpecBuilder 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 MicrocksHubSpecBuilder extends MicrocksHubSpecFluent implements VisitableBuilder{
  public MicrocksHubSpecBuilder() {
    this(new MicrocksHubSpec());
  }
  
  public MicrocksHubSpecBuilder(MicrocksHubSpecFluent fluent) {
    this(fluent, new MicrocksHubSpec());
  }
  
  public MicrocksHubSpecBuilder(MicrocksHubSpecFluent fluent,MicrocksHubSpec instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public MicrocksHubSpecBuilder(MicrocksHubSpec instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  MicrocksHubSpecFluent fluent;
  
  public MicrocksHubSpec build() {
    MicrocksHubSpec buildable = new MicrocksHubSpec();
    buildable.setEnabled(fluent.isEnabled());
    buildable.setAllowedRoles(fluent.getAllowedRoles());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy