io.dekorate.servicebinding.model.BindingPathBuilder Maven / Gradle / Ivy
package io.dekorate.servicebinding.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class BindingPathBuilder extends BindingPathFluentImpl implements VisitableBuilder{
public BindingPathBuilder() {
this(false);
}
public BindingPathBuilder(Boolean validationEnabled) {
this.fluent = this; this.validationEnabled=validationEnabled;
}
public BindingPathBuilder(BindingPathFluent> fluent) {
this(fluent, false);
}
public BindingPathBuilder(BindingPathFluent> fluent,Boolean validationEnabled) {
this.fluent = fluent; this.validationEnabled=validationEnabled;
}
public BindingPathBuilder(BindingPathFluent> fluent,BindingPath instance) {
this(fluent, instance, false);
}
public BindingPathBuilder(BindingPathFluent> fluent,BindingPath instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withContainerPath(instance.getContainerPath());
fluent.withSecretPath(instance.getSecretPath());
this.validationEnabled = validationEnabled;
}
public BindingPathBuilder(BindingPath instance) {
this(instance,false);
}
public BindingPathBuilder(BindingPath instance,Boolean validationEnabled) {
this.fluent = this;
this.withContainerPath(instance.getContainerPath());
this.withSecretPath(instance.getSecretPath());
this.validationEnabled = validationEnabled;
}
BindingPathFluent> fluent;
Boolean validationEnabled;
public BindingPath build() {
BindingPath buildable = new BindingPath(fluent.getContainerPath(),fluent.getSecretPath());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy