toWindowsDeploymentType method

WindowsDeploymentType toWindowsDeploymentType()

Implementation

WindowsDeploymentType toWindowsDeploymentType() {
  switch (this) {
    case 'MULTI_AZ_1':
      return WindowsDeploymentType.multiAz_1;
    case 'SINGLE_AZ_1':
      return WindowsDeploymentType.singleAz_1;
    case 'SINGLE_AZ_2':
      return WindowsDeploymentType.singleAz_2;
  }
  throw Exception('$this is not known in enum WindowsDeploymentType');
}