io.dekorate.servicebinding.config.BindingPathConfigBuilder Maven / Gradle / Ivy
package io.dekorate.servicebinding.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class BindingPathConfigBuilder extends BindingPathConfigFluentImpl implements VisitableBuilder{
public BindingPathConfigBuilder() {
this(false);
}
public BindingPathConfigBuilder(Boolean validationEnabled) {
this(new BindingPathConfig(), validationEnabled);
}
public BindingPathConfigBuilder(BindingPathConfigFluent> fluent) {
this(fluent, false);
}
public BindingPathConfigBuilder(BindingPathConfigFluent> fluent,Boolean validationEnabled) {
this(fluent, new BindingPathConfig(), validationEnabled);
}
public BindingPathConfigBuilder(BindingPathConfigFluent> fluent,BindingPathConfig instance) {
this(fluent, instance, false);
}
public BindingPathConfigBuilder(BindingPathConfigFluent> fluent,BindingPathConfig instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withProject(instance.getProject());
fluent.withAttributes(instance.getAttributes());
fluent.withContainerPath(instance.getContainerPath());
fluent.withSecretPath(instance.getSecretPath());
this.validationEnabled = validationEnabled;
}
public BindingPathConfigBuilder(BindingPathConfig instance) {
this(instance,false);
}
public BindingPathConfigBuilder(BindingPathConfig instance,Boolean validationEnabled) {
this.fluent = this;
this.withProject(instance.getProject());
this.withAttributes(instance.getAttributes());
this.withContainerPath(instance.getContainerPath());
this.withSecretPath(instance.getSecretPath());
this.validationEnabled = validationEnabled;
}
BindingPathConfigFluent> fluent;
Boolean validationEnabled;
public EditableBindingPathConfig build() {
EditableBindingPathConfig buildable = new EditableBindingPathConfig(fluent.getProject(),fluent.getAttributes(),fluent.getContainerPath(),fluent.getSecretPath());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy