toAdditionalArtifact method

AdditionalArtifact toAdditionalArtifact()

Implementation

AdditionalArtifact toAdditionalArtifact() {
  switch (this) {
    case 'REDSHIFT':
      return AdditionalArtifact.redshift;
    case 'QUICKSIGHT':
      return AdditionalArtifact.quicksight;
    case 'ATHENA':
      return AdditionalArtifact.athena;
  }
  throw Exception('$this is not known in enum AdditionalArtifact');
}