toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackInstanceStatus.current:
      return 'CURRENT';
    case StackInstanceStatus.outdated:
      return 'OUTDATED';
    case StackInstanceStatus.inoperable:
      return 'INOPERABLE';
  }
}