public class DefaultCredentialsProvider extends Object implements AlibabaCloudCredentialsProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultCredentialsProvider.Builder |
| Constructor and Description |
|---|
DefaultCredentialsProvider() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
static DefaultCredentialsProvider.Builder |
builder() |
static void |
clearCredentialsProvider() |
static boolean |
containsCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
AlibabaCloudCredentials |
getCredentials() |
static boolean |
removeCredentialsProvider(AlibabaCloudCredentialsProvider provider) |
public DefaultCredentialsProvider()
throws ClientException
ClientExceptionpublic static DefaultCredentialsProvider.Builder builder()
public AlibabaCloudCredentials getCredentials() throws ClientException
getCredentials in interface AlibabaCloudCredentialsProviderClientExceptionpublic static boolean addCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static boolean removeCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static boolean containsCredentialsProvider(AlibabaCloudCredentialsProvider provider)
public static void clearCredentialsProvider()
Copyright © 2024. All rights reserved.