public class SDKGlobalConfiguration extends Object
限定符和类型 | 字段和说明 |
---|---|
static String |
ACCESS_KEY_ENV_VAR
Environment variable name for the AWS access key ID
|
static String |
ACCESS_KEY_SYSTEM_PROPERTY
System property name for the AWS access key ID
|
static String |
ALTERNATE_ACCESS_KEY_ENV_VAR
Alternate environment variable name for the AWS access key ID
|
static String |
ALTERNATE_SECRET_KEY_ENV_VAR
Alternate environment variable name for the AWS secret key
|
static String |
DEFAULT_METRICS_SYSTEM_PROPERTY
System property used when starting up the JVM to enable the default
metrics collected by the AWS SDK, which uploads the derived statistics to
Amazon CloudWatch.
|
static String |
DISABLE_CERT_CHECKING_SYSTEM_PROPERTY |
static String |
EC2_METADATA_SERVICE_OVERRIDE_SYSTEM_PROPERTY
System property for overriding the Amazon EC2 Instance Metadata Service
endpoint.
|
static String |
PROFILING_SYSTEM_PROPERTY
已过时。
by
DEFAULT_METRICS_SYSTEM_PROPERTY .
Internal system property to enable timing info collection. |
static String |
SECRET_KEY_ENV_VAR
Environment variable name for the AWS secret key
|
static String |
SECRET_KEY_SYSTEM_PROPERTY
System property name for the AWS secret key
|
构造器和说明 |
---|
SDKGlobalConfiguration() |
public static final String DISABLE_CERT_CHECKING_SYSTEM_PROPERTY
public static final String DEFAULT_METRICS_SYSTEM_PROPERTY
Example: -Dcom.amazonaws.sdk.enableDefaultMetrics
public static final String ACCESS_KEY_SYSTEM_PROPERTY
public static final String SECRET_KEY_SYSTEM_PROPERTY
public static final String EC2_METADATA_SERVICE_OVERRIDE_SYSTEM_PROPERTY
@Deprecated public static final String PROFILING_SYSTEM_PROPERTY
DEFAULT_METRICS_SYSTEM_PROPERTY
.
Internal system property to enable timing info collection.public static final String ACCESS_KEY_ENV_VAR
public static final String ALTERNATE_ACCESS_KEY_ENV_VAR
public static final String SECRET_KEY_ENV_VAR
public static void setGlobalTimeOffset(int timeOffset)
Request.setTimeOffset(int)
timeOffset
- the time difference between local client and serverpublic static int getGlobalTimeOffset()
Request.getTimeOffset()
if
global time offset is not set.Copyright © 2016. All rights reserved.