toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case QueryErrorCode.cloudformationStackInactive:
      return 'CLOUDFORMATION_STACK_INACTIVE';
    case QueryErrorCode.cloudformationStackNotExisting:
      return 'CLOUDFORMATION_STACK_NOT_EXISTING';
  }
}