private DefaultProfile(String region, Credential creden)
 {
     iendpoints = new InternalEndpointsParser();
     credential = creden;
     this.regionId = region;
 }
 public Credential GetCredential()
 {
     if (null == credential && null != icredential)
     {
         credential = icredential.Fresh();
     }
     return credential;
 }
 public StsCredentialProvider(string accessKeyId, string accessKeySecret, string securityToken)
 {
     stsCredential = new Credential(accessKeyId, accessKeySecret, securityToken);
 }
 public static DefaultProfile GetProfile(String regionId, String accessKeyId, String secret)
 {
     Credential creden = new Credential(accessKeyId, secret);
     profile = new DefaultProfile(regionId, creden);
     return profile;
 }
 public LegacyCredentials(Credential legacyCrendential)
 {
     this.legacyCredential = legacyCrendential;
 }