toAssignPublicIp method

AssignPublicIp toAssignPublicIp()

Implementation

AssignPublicIp toAssignPublicIp() {
  switch (this) {
    case 'ENABLED':
      return AssignPublicIp.enabled;
    case 'DISABLED':
      return AssignPublicIp.disabled;
  }
  throw Exception('$this is not known in enum AssignPublicIp');
}