toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MaintenanceWindowTaskType.runCommand:
      return 'RUN_COMMAND';
    case MaintenanceWindowTaskType.automation:
      return 'AUTOMATION';
    case MaintenanceWindowTaskType.stepFunctions:
      return 'STEP_FUNCTIONS';
    case MaintenanceWindowTaskType.lambda:
      return 'LAMBDA';
  }
}