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 |
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() |
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_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