public class ECSMetadataServiceCredentialsFetcher extends Object
| Constructor and Description |
|---|
ECSMetadataServiceCredentialsFetcher() |
ECSMetadataServiceCredentialsFetcher(String roleName,
Boolean disableIMDSv1,
Integer connectionTimeout,
Integer readTimeout) |
| Modifier and Type | Method and Description |
|---|---|
InstanceProfileCredentials |
fetch() |
InstanceProfileCredentials |
fetch(int retryTimes) |
String |
getMetadata()
Deprecated.
|
void |
setRoleName(String roleName)
Deprecated.
|
ECSMetadataServiceCredentialsFetcher |
withConnectionTimeout(int milliseconds)
Deprecated.
|
ECSMetadataServiceCredentialsFetcher |
withECSMetadataServiceHost(String host)
Deprecated.
|
public ECSMetadataServiceCredentialsFetcher()
@Deprecated public void setRoleName(String roleName)
@Deprecated public ECSMetadataServiceCredentialsFetcher withECSMetadataServiceHost(String host)
@Deprecated public ECSMetadataServiceCredentialsFetcher withConnectionTimeout(int milliseconds)
@Deprecated public String getMetadata() throws ClientException
ClientExceptionpublic InstanceProfileCredentials fetch() throws ClientException
ClientExceptionpublic InstanceProfileCredentials fetch(int retryTimes) throws ClientException
ClientExceptionCopyright © 2024. All rights reserved.