public DestinationWeight build(){ DestinationWeight buildable = new DestinationWeight(fluent.getDestination(),fluent.getWeight()); if (validationEnabled) {io.fabric8.kubernetes.api.builder.ValidationUtils.validate(buildable);} return buildable; }
public DestinationWeight build(){ DestinationWeight buildable = new DestinationWeight(fluent.getDestination(),fluent.getWeight()); if (validationEnabled) {io.fabric8.kubernetes.api.builder.ValidationUtils.validate(buildable);} return buildable; }