io.dekorate.helm.config.ValueReferenceBuilder Maven / Gradle / Ivy
package io.dekorate.helm.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class ValueReferenceBuilder extends ValueReferenceFluentImpl implements VisitableBuilder{
public ValueReferenceBuilder() {
this(false);
}
public ValueReferenceBuilder(Boolean validationEnabled) {
this(new ValueReference(), validationEnabled);
}
public ValueReferenceBuilder(ValueReferenceFluent> fluent) {
this(fluent, false);
}
public ValueReferenceBuilder(ValueReferenceFluent> fluent,Boolean validationEnabled) {
this(fluent, new ValueReference(), validationEnabled);
}
public ValueReferenceBuilder(ValueReferenceFluent> fluent,ValueReference instance) {
this(fluent, instance, false);
}
public ValueReferenceBuilder(ValueReferenceFluent> fluent,ValueReference instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withProperty(instance.getProperty());
fluent.withPaths(instance.getPaths());
fluent.withProfile(instance.getProfile());
fluent.withValue(instance.getValue());
fluent.withExpression(instance.getExpression());
this.validationEnabled = validationEnabled;
}
public ValueReferenceBuilder(ValueReference instance) {
this(instance,false);
}
public ValueReferenceBuilder(ValueReference instance,Boolean validationEnabled) {
this.fluent = this;
this.withProperty(instance.getProperty());
this.withPaths(instance.getPaths());
this.withProfile(instance.getProfile());
this.withValue(instance.getValue());
this.withExpression(instance.getExpression());
this.validationEnabled = validationEnabled;
}
ValueReferenceFluent> fluent;
Boolean validationEnabled;
public EditableValueReference build() {
EditableValueReference buildable = new EditableValueReference(fluent.getProperty(),fluent.getPaths(),fluent.getProfile(),fluent.getValue(),fluent.getExpression());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy