toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackInstanceDetailedStatus.pending:
      return 'PENDING';
    case StackInstanceDetailedStatus.running:
      return 'RUNNING';
    case StackInstanceDetailedStatus.succeeded:
      return 'SUCCEEDED';
    case StackInstanceDetailedStatus.failed:
      return 'FAILED';
    case StackInstanceDetailedStatus.cancelled:
      return 'CANCELLED';
    case StackInstanceDetailedStatus.inoperable:
      return 'INOPERABLE';
  }
}