Package com.amazonaws.util
Class VersionInfoUtils
java.lang.Object
com.amazonaws.util.VersionInfoUtils
Utility class for accessing AWS SDK versioning information.
-
Constructor Details
-
VersionInfoUtils
public VersionInfoUtils()
-
-
Method Details
-
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
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
- 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.
-