Class VersionInfoUtils

java.lang.Object
com.amazonaws.util.VersionInfoUtils

public class VersionInfoUtils extends Object
Utility class for accessing AWS SDK versioning information.
  • Constructor Details

    • VersionInfoUtils

      public VersionInfoUtils()
  • Method Details

    • getVersion

      public static String getVersion()
      Returns the current version for the AWS SDK in which this class is running. Version information is obtained from from the versionInfo.properties file which the AWS Java SDK build process generates.
      Returns:
      The current version for the AWS SDK, if known, otherwise returns a string indicating that the version information is not available.
    • getPlatform

      public static String getPlatform()
      Returns the current platform for the AWS SDK in which this class is running. Version information is obtained from from the versionInfo.properties file which the AWS Java SDK build process generates.
      Returns:
      The current platform for the AWS SDK, if known, otherwise returns a string indicating that the platform information is not available.
    • getUserAgent

      public static String getUserAgent()
      Returns:
      Returns the User Agent string to be used when communicating with the AWS services. The User Agent encapsulates SDK, Java, OS and region information.