toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case StackResourceDriftStatus.inSync:
      return 'IN_SYNC';
    case StackResourceDriftStatus.modified:
      return 'MODIFIED';
    case StackResourceDriftStatus.deleted:
      return 'DELETED';
    case StackResourceDriftStatus.notChecked:
      return 'NOT_CHECKED';
  }
}