public class InstanceProfileCredentialsFetcher extends HttpCredentialsFetcher
| 构造器和说明 |
|---|
InstanceProfileCredentialsFetcher() |
| 限定符和类型 | 方法和说明 |
|---|---|
URL |
buildUrl()
Construct the authorization server URL
|
ServiceCredentials |
parse(HttpResponse response)
Parse the authorization information returned by the authorization server and convert it into Credentials
|
void |
setRoleName(String roleName) |
InstanceProfileCredentialsFetcher |
withRoleName(String roleName) |
fetch, fetch, sendpublic void setRoleName(String roleName)
public InstanceProfileCredentialsFetcher withRoleName(String roleName)
public URL buildUrl() throws ClientException
CredentialsFetcherbuildUrl 在接口中 CredentialsFetcherbuildUrl 在类中 HttpCredentialsFetcherClientExceptionpublic ServiceCredentials parse(HttpResponse response) throws ClientException
CredentialsFetcherparse 在接口中 CredentialsFetcherparse 在类中 HttpCredentialsFetcherresponse - Authorization information returned by the authorization serverClientExceptionCopyright © 2025. All Rights Reserved.