public class InstanceCredentialsUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static InstanceCredentialsUtils |
getInstance() |
String |
readResource(URI endpoint) |
String |
readResource(URI endpoint,
CredentialsEndpointRetryPolicy retryPolicy,
Map<String,String> headers) |
public static InstanceCredentialsUtils getInstance()
public String readResource(URI endpoint) throws IOException
IOExceptionpublic String readResource(URI endpoint, CredentialsEndpointRetryPolicy retryPolicy, Map<String,String> headers) throws IOException
IOExceptionCopyright © 2021. All rights reserved.