public class AnonymousCOSCredentials extends Object implements COSCredentials
| Constructor and Description |
|---|
AnonymousCOSCredentials() |
AnonymousCOSCredentials(String appId)
Deprecated.
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() |
| Modifier and Type | Method and Description |
|---|---|
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()
COSCredentialsgetCOSAppId in interface COSCredentialspublic String getCOSAccessKeyId()
COSCredentialsgetCOSAccessKeyId in interface COSCredentialspublic String getCOSSecretKey()
COSCredentialsgetCOSSecretKey in interface COSCredentialsCopyright © 2023. All rights reserved.