io.dekorate.helm.config.AnnotationBuilder Maven / Gradle / Ivy
package io.dekorate.helm.config;
import io.fabric8.kubernetes.api.builder.VisitableBuilder;
import java.lang.Boolean;
/**
* Generated
*/
public class AnnotationBuilder extends AnnotationFluentImpl implements VisitableBuilder{
public AnnotationBuilder() {
this(false);
}
public AnnotationBuilder(Boolean validationEnabled) {
this(new Annotation(), validationEnabled);
}
public AnnotationBuilder(AnnotationFluent> fluent) {
this(fluent, false);
}
public AnnotationBuilder(AnnotationFluent> fluent,Boolean validationEnabled) {
this(fluent, new Annotation(), validationEnabled);
}
public AnnotationBuilder(AnnotationFluent> fluent,Annotation instance) {
this(fluent, instance, false);
}
public AnnotationBuilder(AnnotationFluent> fluent,Annotation instance,Boolean validationEnabled) {
this.fluent = fluent;
fluent.withKey(instance.getKey());
fluent.withValue(instance.getValue());
this.validationEnabled = validationEnabled;
}
public AnnotationBuilder(Annotation instance) {
this(instance,false);
}
public AnnotationBuilder(Annotation instance,Boolean validationEnabled) {
this.fluent = this;
this.withKey(instance.getKey());
this.withValue(instance.getValue());
this.validationEnabled = validationEnabled;
}
AnnotationFluent> fluent;
Boolean validationEnabled;
public EditableAnnotation build() {
EditableAnnotation buildable = new EditableAnnotation(fluent.getKey(),fluent.getValue());
return buildable;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy