public class AnonymousCOSCredentials extends Object implements COSCredentials
构造器和说明 |
---|
AnonymousCOSCredentials() |
AnonymousCOSCredentials(String appId)
已过时。
appid should be included in bucket name. for example if your appid
is 125123123, previous bucket is ott. you should set bucket as ott-125123123.
use
AnonymousCOSCredentials() |
限定符和类型 | 方法和说明 |
---|---|
String |
getCOSAccessKeyId()
Returns the COS access key ID for this credentials object.
|
String |
getCOSAppId()
Returns the COS AppId for this credentials object.
|
String |
getCOSSecretKey()
Returns the COS secret access key for this credentials object.
|
@Deprecated public AnonymousCOSCredentials(String appId)
AnonymousCOSCredentials()
appId
- the appid which your resource belong to.public AnonymousCOSCredentials()
public String getCOSAppId()
COSCredentials
getCOSAppId
在接口中 COSCredentials
public String getCOSAccessKeyId()
COSCredentials
getCOSAccessKeyId
在接口中 COSCredentials
public String getCOSSecretKey()
COSCredentials
getCOSSecretKey
在接口中 COSCredentials
Copyright © 2021. All rights reserved.