com.qcloud.cos.auth.COSCredentialsProviderpublic class EnvironmentVariableCredentialsProvider extends AbstractCOSCredentialsProvider implements com.qcloud.cos.auth.COSCredentialsProvider
| Constructor | Description |
|---|---|
EnvironmentVariableCredentialsProvider(java.net.URI uri,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method | Description |
|---|---|---|
com.qcloud.cos.auth.COSCredentials |
getCredentials() |
|
void |
refresh() |
|
java.lang.String |
toString() |
getConf, getUripublic EnvironmentVariableCredentialsProvider(@Nullable
java.net.URI uri,
org.apache.hadoop.conf.Configuration conf)
public com.qcloud.cos.auth.COSCredentials getCredentials()
getCredentials in interface com.qcloud.cos.auth.COSCredentialsProviderpublic void refresh()
refresh in interface com.qcloud.cos.auth.COSCredentialsProviderpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.