All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.fabric8.kubernetes.api.model.admissionregistration.v1beta1.ValidationBuilder Maven / Gradle / Ivy

package io.fabric8.kubernetes.api.model.admissionregistration.v1beta1;

import io.fabric8.kubernetes.api.builder.VisitableBuilder;
public class ValidationBuilder extends ValidationFluent implements VisitableBuilder{
  public ValidationBuilder() {
    this(new Validation());
  }
  
  public ValidationBuilder(ValidationFluent fluent) {
    this(fluent, new Validation());
  }
  
  public ValidationBuilder(ValidationFluent fluent,Validation instance) {
    this.fluent = fluent;
    fluent.copyInstance(instance);
  }
  
  public ValidationBuilder(Validation instance) {
    this.fluent = this;
    this.copyInstance(instance);
  }
  ValidationFluent fluent;
  
  public Validation build() {
    Validation buildable = new Validation(fluent.getExpression(),fluent.getMessage(),fluent.getMessageExpression(),fluent.getReason());
    buildable.setAdditionalProperties(fluent.getAdditionalProperties());
    return buildable;
  }
  

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy