Change region related classes

Apache 2.0

Change region related classes from v1 to v2.

software.amazon.awssdk.v2migration.ChangeRegionTypes
mod run . --recipe=software.amazon.awssdk.v2migration.ChangeRegionTypes

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.

Recipe list

It runs these recipes, in this order.

  1. Change method name com.amazonaws.regions.Regions fromName(String) to of
  2. Change method name com.amazonaws.regions.Regions getName() to id
  3. Change type Regions to Region