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

io.dekorate.servicebinding.model.CustomEnvVarBuilder Maven / Gradle / Ivy

There is a newer version: 4.1.4
Show newest version
package io.dekorate.servicebinding.model;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class CustomEnvVarBuilder extends CustomEnvVarFluentImpl implements VisitableBuilder{
  public CustomEnvVarBuilder() {
    this(false);
  }
  public CustomEnvVarBuilder(Boolean validationEnabled) {
    this(new CustomEnvVar(), validationEnabled);
  }
  public CustomEnvVarBuilder(CustomEnvVarFluent fluent) {
    this(fluent, false);
  }
  public CustomEnvVarBuilder(CustomEnvVarFluent fluent,Boolean validationEnabled) {
    this(fluent, new CustomEnvVar(), validationEnabled);
  }
  public CustomEnvVarBuilder(CustomEnvVarFluent fluent,CustomEnvVar instance) {
    this(fluent, instance, false);
  }
  public CustomEnvVarBuilder(CustomEnvVarFluent fluent,CustomEnvVar instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withName(instance.getName()); 
    fluent.withValue(instance.getValue()); 
    fluent.withValueFrom(instance.getValueFrom()); 
    this.validationEnabled = validationEnabled; 
  }
  public CustomEnvVarBuilder(CustomEnvVar instance) {
    this(instance,false);
  }
  public CustomEnvVarBuilder(CustomEnvVar instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withName(instance.getName()); 
    this.withValue(instance.getValue()); 
    this.withValueFrom(instance.getValueFrom()); 
    this.validationEnabled = validationEnabled; 
  }
  CustomEnvVarFluent fluent;
  Boolean validationEnabled;
  public CustomEnvVar build() {
    CustomEnvVar buildable = new CustomEnvVar(fluent.getName(),fluent.getValue(),fluent.getValueFrom());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy