public class InstanceProfileCredentials extends BasicSessionCredentials
roleSessionDurationSeconds| Constructor and Description |
|---|
InstanceProfileCredentials(String accessKeyId,
String accessKeySecret,
String sessionToken,
String expiration,
long roleSessionDurationSeconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isExpired() |
void |
setLastFailedRefreshTime() |
boolean |
shouldRefresh() |
boolean |
willSoonExpire() |
getAccessKeyId, getAccessKeySecret, getSessionTokenpublic boolean willSoonExpire()
willSoonExpire in class BasicSessionCredentialspublic boolean isExpired()
public boolean shouldRefresh()
public void setLastFailedRefreshTime()
Copyright © 2017. All Rights Reserved.