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

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

package io.dekorate.servicebinding.model;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class ConfigMapKeyRefBuilder extends ConfigMapKeyRefFluentImpl implements VisitableBuilder{
  public ConfigMapKeyRefBuilder() {
    this(false);
  }
  public ConfigMapKeyRefBuilder(Boolean validationEnabled) {
    this.fluent = this; this.validationEnabled=validationEnabled;
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRefFluent fluent) {
    this(fluent, false);
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRefFluent fluent,Boolean validationEnabled) {
    this.fluent = fluent; this.validationEnabled=validationEnabled;
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRefFluent fluent,ConfigMapKeyRef instance) {
    this(fluent, instance, false);
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRefFluent fluent,ConfigMapKeyRef instance,Boolean validationEnabled) {
    this.fluent = fluent; 
    fluent.withKey(instance.getKey()); 
    fluent.withName(instance.getName()); 
    fluent.withOptional(instance.isOptional()); 
    this.validationEnabled = validationEnabled; 
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRef instance) {
    this(instance,false);
  }
  public ConfigMapKeyRefBuilder(ConfigMapKeyRef instance,Boolean validationEnabled) {
    this.fluent = this; 
    this.withKey(instance.getKey()); 
    this.withName(instance.getName()); 
    this.withOptional(instance.isOptional()); 
    this.validationEnabled = validationEnabled; 
  }
  ConfigMapKeyRefFluent fluent;
  Boolean validationEnabled;
  public ConfigMapKeyRef build() {
    ConfigMapKeyRef buildable = new ConfigMapKeyRef(fluent.getKey(),fluent.getName(),fluent.isOptional());
    return buildable;
  }
  
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy