io.dekorate.servicebinding.model.FieldRefBuilder Maven / Gradle / Ivy
package io.dekorate.servicebinding.model;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
public class FieldRefBuilder extends FieldRefFluentImpl implements VisitableBuilder{
public FieldRefBuilder() {
this(false);
}
public FieldRefBuilder(Boolean validationEnabled) {
this.fluent = this; this.validationEnabled=validationEnabled;
}
public FieldRefBuilder(FieldRefFluent> fluent) {
this(fluent, false);
}
public FieldRefBuilder(FieldRefFluent> fluent,Boolean validationEnabled) {
this.fluent = fluent; this.validationEnabled=validationEnabled;
}
public FieldRefBuilder(FieldRefFluent> fluent,FieldRef instance) {
this(fluent, instance, false);
}
public FieldRefBuilder(FieldRefFluent> fluent,FieldRef instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withApiVersion(instance.getApiVersion());
fluent.withFieldPath(instance.getFieldPath());
this.validationEnabled = validationEnabled;
}
public FieldRefBuilder(FieldRef instance) {
this(instance,false);
}
public FieldRefBuilder(FieldRef instance,Boolean validationEnabled) {
this.fluent = this;
this.withApiVersion(instance.getApiVersion());
this.withFieldPath(instance.getFieldPath());
this.validationEnabled = validationEnabled;
}
FieldRefFluent> fluent;
Boolean validationEnabled;
public FieldRef build() {
FieldRef buildable = new FieldRef(fluent.getApiVersion(),fluent.getFieldPath());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy