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

io.dekorate.prometheus.config.ServiceMonitorConfigBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.prometheus.config;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;

/**
 * Generated
 */
public class ServiceMonitorConfigBuilder extends ServiceMonitorConfigFluent implements VisitableBuilder{
  public ServiceMonitorConfigBuilder() {
    this(new ServiceMonitorConfig());
  }
  
  public ServiceMonitorConfigBuilder(ServiceMonitorConfigFluent fluent) {
    this(fluent, new ServiceMonitorConfig());
  }
  
  public ServiceMonitorConfigBuilder(ServiceMonitorConfigFluent fluent,ServiceMonitorConfig instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ServiceMonitorConfigBuilder(ServiceMonitorConfig instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ServiceMonitorConfigFluent fluent;
  
  public EditableServiceMonitorConfig build() {
    EditableServiceMonitorConfig buildable = new EditableServiceMonitorConfig(fluent.buildProject(),fluent.getAttributes(),fluent.getPort(),fluent.getPath(),fluent.getInterval(),fluent.getHonorLabels());
    return buildable;
  }
  

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy