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

io.dekorate.helm.config.MaintainerBuilder Maven / Gradle / Ivy

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

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;

 /**
  * Generated
  */
public class MaintainerBuilder extends MaintainerFluentImpl implements VisitableBuilder{
  public MaintainerBuilder() {
    this(false);
  }
  public MaintainerBuilder(Boolean validationEnabled) {
    this(new Maintainer(), validationEnabled);
  }
  public MaintainerBuilder(MaintainerFluent fluent) {
    this(fluent, false);
  }
  public MaintainerBuilder(MaintainerFluent fluent,Boolean validationEnabled) {
    this(fluent, new Maintainer(), validationEnabled);
  }
  public MaintainerBuilder(MaintainerFluent fluent,Maintainer instance) {
    this(fluent, instance, false);
  }
  public MaintainerBuilder(MaintainerFluent fluent,Maintainer instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withName(instance.getName()); 
    fluent.withEmail(instance.getEmail()); 
    fluent.withUrl(instance.getUrl()); 
    this.validationEnabled = validationEnabled; 
  }
  public MaintainerBuilder(Maintainer instance) {
    this(instance,false);
  }
  public MaintainerBuilder(Maintainer instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withName(instance.getName()); 
    this.withEmail(instance.getEmail()); 
    this.withUrl(instance.getUrl()); 
    this.validationEnabled = validationEnabled; 
  }
  MaintainerFluent fluent;
  Boolean validationEnabled;
  public EditableMaintainer build() {
    EditableMaintainer buildable = new EditableMaintainer(fluent.getName(),fluent.getEmail(),fluent.getUrl());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy