com.amazonaws.util
Class VersionInfoUtils

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

@ThreadSafe
public class VersionInfoUtils
extends Object

Utility class for accessing AWS SDK versioning information.


Constructor Summary
VersionInfoUtils()
           
 
Method Summary
static String getPlatform()
          Returns the current platform for the AWS SDK in which this class is running.
static String getUserAgent()
           
static String getVersion()
          Returns the current version for the AWS SDK in which this class is running.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VersionInfoUtils

public VersionInfoUtils()
Method Detail

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.


Copyright © 2016. All rights reserved.