public Credential(String keyId, String secret, int expiredHours) {this.accessKeyId = keyId;this.accessSecret = secret;this.refreshDate = new Date();setExpiredDate(expiredHours);}

public Credential ( String keyId , String secret , int expiredHours ) { this . accessKeyId = keyId ; this . accessSecret = secret ; this . refreshDate = new Date ( ) ; setExpiredDate ( expiredHours ) ; }
public Credential(string keyId, string secret, int expiredHours){AccessKeyId = keyId;AccessSecret = secret;RefreshDate = new DateTime();SetExpiredDate(expiredHours);}
