com.amazonaws.util
Class VersionInfoUtils
java.lang.Object
com.amazonaws.util.VersionInfoUtils
@ThreadSafe
public class VersionInfoUtils
- extends java.lang.Object
Utility class for accessing AWS SDK versioning information.
Method Summary |
static java.lang.String |
getPlatform()
Returns the current platform for the AWS SDK in which this class is
running. |
static java.lang.String |
getUserAgent()
|
static java.lang.String |
getVersion()
Returns the current version for the AWS SDK in which this class is
running. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionInfoUtils
public VersionInfoUtils()
getVersion
public static java.lang.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 java.lang.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 java.lang.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.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.