public class ECSMetadataServiceCredentialsFetcher extends Object
| Constructor and Description |
|---|
ECSMetadataServiceCredentialsFetcher() |
| Modifier and Type | Method and Description |
|---|---|
InstanceProfileCredentials |
fetch() |
InstanceProfileCredentials |
fetch(int retryTimes) |
String |
getMetadata() |
void |
setRoleName(String roleName) |
ECSMetadataServiceCredentialsFetcher |
withConnectionTimeout(int milliseconds) |
ECSMetadataServiceCredentialsFetcher |
withECSMetadataServiceHost(String host) |
public ECSMetadataServiceCredentialsFetcher()
public void setRoleName(String roleName)
public ECSMetadataServiceCredentialsFetcher withECSMetadataServiceHost(String host)
public ECSMetadataServiceCredentialsFetcher withConnectionTimeout(int milliseconds)
public String getMetadata() throws ClientException
ClientExceptionpublic InstanceProfileCredentials fetch() throws ClientException
ClientExceptionpublic InstanceProfileCredentials fetch(int retryTimes) throws ClientException
ClientExceptionCopyright © 2018. All Rights Reserved.