public class OSSFederationToken
extends java.lang.Object
构造器和说明 |
---|
OSSFederationToken(java.lang.String tempAK,
java.lang.String tempSK,
java.lang.String securityToken,
long expiration)
Creates a new instance of OSSFederationToken
|
OSSFederationToken(java.lang.String tempAK,
java.lang.String tempSK,
java.lang.String securityToken,
java.lang.String expirationInGMTFormat)
Creates a new instance of OSSFederationToken
|
限定符和类型 | 方法和说明 |
---|---|
long |
getExpiration() |
java.lang.String |
getSecurityToken() |
java.lang.String |
getTempAK() |
java.lang.String |
getTempSK() |
void |
setExpiration(long expiration) |
void |
setExpirationInGMTFormat(java.lang.String expirationInGMTFormat) |
void |
setSecurityToken(java.lang.String securityToken) |
void |
setTempAk(java.lang.String tempAk) |
void |
setTempSk(java.lang.String tempSk) |
java.lang.String |
toString() |
public OSSFederationToken(java.lang.String tempAK, java.lang.String tempSK, java.lang.String securityToken, long expiration)
tempAK
- AccessKeyId returned from STStempSK
- AccessKeySecret returned from STSsecurityToken
- SecurityToken returned from STSexpiration
- The expiration time in seconds from STS, in the Unix Epoch format.public OSSFederationToken(java.lang.String tempAK, java.lang.String tempSK, java.lang.String securityToken, java.lang.String expirationInGMTFormat)
tempAK
- AccessKeyId returned from STStempSK
- AccessKeySecret returned from STSsecurityToken
- SecurityToken returned from STSexpirationInGMTFormat
- The expiration time in seconds from STS, in the GMT format.public java.lang.String toString()
toString
在类中 java.lang.Object
public java.lang.String getTempAK()
public java.lang.String getTempSK()
public java.lang.String getSecurityToken()
public void setSecurityToken(java.lang.String securityToken)
public void setTempAk(java.lang.String tempAk)
public void setTempSk(java.lang.String tempSk)
public long getExpiration()
public void setExpiration(long expiration)
public void setExpirationInGMTFormat(java.lang.String expirationInGMTFormat)