public class InstanceProfileCredentials extends BasicSessionCredentials
| 构造器和说明 |
|---|
InstanceProfileCredentials(String accessKey,
String secretKey,
String sessionToken,
long expiredTime) |
InstanceProfileCredentials(String appId,
String accessKey,
String secretKey,
String sessionToken,
long expiredTime)
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 © 2020. All rights reserved.