Class VersionUtils
java.lang.Object
software.amazon.awssdk.codegen.utils.VersionUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
convertToMajorMinorX
(String version) Converts a full version string to a major.minor.x format.
-
Method Details
-
convertToMajorMinorX
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
-