> +import org.jclouds.json.SerializedNames;
> +
> +@AutoValue
> +public abstract class Deployment {
> +
> +   public enum ProvisioningState {
> +      ACCEPTED("Accepted"),
> +      READY("Ready"),
> +      CANCELED("Canceled"),
> +      FAILED("Failed"),
> +      DELETED("Deleted"),
> +      SUCCEEDED("Succeeded"),
> +      RUNNING("Running"),
> +      UNRECOGNIZED("");
> +
> +      private final String key;

This looks redundant. You can omit it and just compare by name()?

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/273/files/74f8e9bf66e7427298c5c3c9567aa7d8284e0987#r64476067

Reply via email to