public class InstanceProfileCredentials extends BasicSessionCredentials
| Constructor and Description |
|---|
InstanceProfileCredentials(String accessKey,
String secretKey,
String sessionToken,
long expiredTime) |
InstanceProfileCredentials(String appId,
String accessKey,
String secretKey,
String sessionToken,
long expiredTime)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getExpiredTime() |
boolean |
isExpired() |
boolean |
willSoonExpire() |
InstanceProfileCredentials |
withExpiredFactor(double expiredFactor) |
getCOSAccessKeyId, getCOSAppId, getCOSSecretKey, getSessionToken@Deprecated public InstanceProfileCredentials(String appId, String accessKey, String secretKey, String sessionToken, long expiredTime)
public InstanceProfileCredentials withExpiredFactor(double expiredFactor)
public long getExpiredTime()
public boolean isExpired()
public boolean willSoonExpire()
Copyright © 2023. All rights reserved.