> + *
> + * @author Nick Livens
> + * @see <a 
> href="http://docs.openstack.org/api/openstack-network/2.0/content/lbaas_ext_ops_health_monitor.html";>api
>  doc</a> *
> + */
> +public class HealthMonitor extends Reference {
> +
> +   public static enum Type {
> +      PING, TCP, HTTP, HTTPS;
> +
> +      public static Type fromValue(String value) {
> +         try {
> +            return valueOf(value.toUpperCase());
> +         } catch (IllegalArgumentException e) {
> +            return null;
> +         }
> +      }

> Perhaps we should indeed remove these methods since we don't expect invalid 
> entries.

+1

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/44/files#r7293904

Reply via email to