toFirelensConfigurationType method

FirelensConfigurationType toFirelensConfigurationType()

Implementation

FirelensConfigurationType toFirelensConfigurationType() {
  switch (this) {
    case 'fluentd':
      return FirelensConfigurationType.fluentd;
    case 'fluentbit':
      return FirelensConfigurationType.fluentbit;
  }
  throw Exception('$this is not known in enum FirelensConfigurationType');
}