toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ActionType.restoreCluster:
      return 'restore-cluster';
    case ActionType.recommendNodeConfig:
      return 'recommend-node-config';
    case ActionType.resizeCluster:
      return 'resize-cluster';
  }
}