toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case MaintenanceWindowResourceType.instance:
      return 'INSTANCE';
    case MaintenanceWindowResourceType.resourceGroup:
      return 'RESOURCE_GROUP';
  }
}