Class VersionUtils

java.lang.Object
software.amazon.awssdk.codegen.utils.VersionUtils

public class VersionUtils extends Object
  • Method Details

    • convertToMajorMinorX

      public static String convertToMajorMinorX(String version)
      Converts a full version string to a major.minor.x format.
      Parameters:
      version - The full version string to convert (e.g., "2.32.1")
      Returns:
      The version string in major.minor.x format (e.g., "2.32.x"), or the original string if it doesn't match the expected version pattern