mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Add scx and oss java doc.
This commit is contained in:
parent
ca31245a8a
commit
71b2488131
@ -31,13 +31,33 @@ import com.aliyun.oss.ClientBuilderConfiguration;
|
||||
@ConfigurationProperties("spring.cloud.alicloud.oss")
|
||||
public class OssProperties {
|
||||
|
||||
/**
|
||||
* Authorization Mode, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/32010.html?spm=a2c4g.11186623.6.659.29f145dc3KOwTh">oss
|
||||
* docs</a>.
|
||||
*/
|
||||
@Value("${spring.cloud.alicloud.oss.authorization-mode:AK_SK}")
|
||||
private AliCloudAuthorizationMode authorizationMode;
|
||||
|
||||
/**
|
||||
* Endpoint, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/32010.html?spm=a2c4g.11186623.6.659.29f145dc3KOwTh">oss
|
||||
* docs</a>.
|
||||
*/
|
||||
private String endpoint;
|
||||
|
||||
/**
|
||||
* Sts token, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/32010.html?spm=a2c4g.11186623.6.659.29f145dc3KOwTh">oss
|
||||
* docs</a>.
|
||||
*/
|
||||
private StsToken sts;
|
||||
|
||||
/**
|
||||
* Client Configuration, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/32010.html?spm=a2c4g.11186623.6.659.29f145dc3KOwTh">oss
|
||||
* docs</a>.
|
||||
*/
|
||||
private ClientBuilderConfiguration config;
|
||||
|
||||
public AliCloudAuthorizationMode getAuthorizationMode() {
|
||||
|
@ -26,8 +26,18 @@ import com.alibaba.cloud.context.scx.ScxConfiguration;
|
||||
@ConfigurationProperties("spring.cloud.alicloud.scx")
|
||||
public class ScxProperties implements ScxConfiguration {
|
||||
|
||||
/**
|
||||
* Group id, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/35359.html?spm=a2c4g.11186623.6.721.69ca5763p9IJly">scx
|
||||
* docs</a>.
|
||||
*/
|
||||
private String groupId;
|
||||
|
||||
/**
|
||||
* Domain name, please see <a href=
|
||||
* "https://help.aliyun.com/document_detail/35359.html?spm=a2c4g.11186623.6.721.69ca5763p9IJly">scx
|
||||
* docs</a>.
|
||||
*/
|
||||
private String domainName;
|
||||
|
||||
@Override
|
||||
|
Loading…
x
Reference in New Issue
Block a user