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

io.dekorate.servicebinding.model.ValueFromBuilder 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 ValueFromBuilder extends ValueFromFluentImpl implements VisitableBuilder{
  public ValueFromBuilder() {
    this(false);
  }
  public ValueFromBuilder(Boolean validationEnabled) {
    this.fluent = this; this.validationEnabled=validationEnabled;
  }
  public ValueFromBuilder(ValueFromFluent fluent) {
    this(fluent, false);
  }
  public ValueFromBuilder(ValueFromFluent fluent,Boolean validationEnabled) {
    this.fluent = fluent; this.validationEnabled=validationEnabled;
  }
  public ValueFromBuilder(ValueFromFluent fluent,ValueFrom instance) {
    this(fluent, instance, false);
  }
  public ValueFromBuilder(ValueFromFluent fluent,ValueFrom instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withConfigMapKeyRef(instance.getConfigMapKeyRef()); 
    fluent.withSecretKeyRef(instance.getSecretKeyRef()); 
    fluent.withFieldRef(instance.getFieldRef()); 
    fluent.withResourceFieldRef(instance.getResourceFieldRef()); 
    this.validationEnabled = validationEnabled; 
  }
  public ValueFromBuilder(ValueFrom instance) {
    this(instance,false);
  }
  public ValueFromBuilder(ValueFrom instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withConfigMapKeyRef(instance.getConfigMapKeyRef()); 
    this.withSecretKeyRef(instance.getSecretKeyRef()); 
    this.withFieldRef(instance.getFieldRef()); 
    this.withResourceFieldRef(instance.getResourceFieldRef()); 
    this.validationEnabled = validationEnabled; 
  }
  ValueFromFluent fluent;
  Boolean validationEnabled;
  public ValueFrom build() {
    ValueFrom buildable = new ValueFrom(fluent.getConfigMapKeyRef(),fluent.getSecretKeyRef(),fluent.getFieldRef(),fluent.getResourceFieldRef());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy