public class AliyunProperties
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLIENT_ACCESS_KEY_ID
Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to
implement symmetric encryption and verify the identity of a requester.
|
static java.lang.String |
CLIENT_ACCESS_KEY_SECRET
Aliyun uses an AccessKey pair, which includes an AccessKey ID and an AccessKey secret to
implement symmetric encryption and verify the identity of a requester.
|
static java.lang.String |
CLIENT_FACTORY
The implementation class of
AliyunClientFactory to customize Aliyun client
configurations. |
static java.lang.String |
CLIENT_SECURITY_TOKEN
Aliyun supports Security Token Service (STS) to generate temporary access credentials to
authorize a user to access the Object Storage Service (OSS) resources within a specific period
of time.
|
static java.lang.String |
OSS_ENDPOINT
The domain name used to access OSS.
|
static java.lang.String |
OSS_STAGING_DIRECTORY
Location to put staging files for uploading to OSS, defaults to the directory value of
java.io.tmpdir.
|
Constructor and Description |
---|
AliyunProperties() |
AliyunProperties(java.util.Map<java.lang.String,java.lang.String> properties) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
accessKeyId() |
java.lang.String |
accessKeySecret() |
java.lang.String |
ossEndpoint() |
java.lang.String |
ossStagingDirectory() |
java.lang.String |
securityToken() |
public static final java.lang.String OSS_ENDPOINT
public static final java.lang.String CLIENT_ACCESS_KEY_ID
For more information about how to obtain an AccessKey pair, see: https://www.alibabacloud.com/help/doc-detail/53045.htm
public static final java.lang.String CLIENT_ACCESS_KEY_SECRET
For more information about how to obtain an AccessKey pair, see: https://www.alibabacloud.com/help/doc-detail/53045.htm
public static final java.lang.String CLIENT_SECURITY_TOKEN
For more information about how to obtain a security token, see: https://www.alibabacloud.com/help/en/vod/user-guide/sts-tokens
public static final java.lang.String CLIENT_FACTORY
AliyunClientFactory
to customize Aliyun client
configurations. If set, all Aliyun clients will be initialized by the specified factory. If not
set, AliyunClientFactories.defaultFactory()
is used as default factory.public static final java.lang.String OSS_STAGING_DIRECTORY