类 com.aliyuncs.profile.DefaultProfile
的使用

使用 DefaultProfile 的软件包
com.aliyuncs.profile   
 

com.aliyuncs.profileDefaultProfile 的使用
 

返回 DefaultProfilecom.aliyuncs.profile 中的方法
static DefaultProfile DefaultProfile.getProfile()
           
static DefaultProfile DefaultProfile.getProfile(String regionId, ICredentialProvider icredential)
           
static DefaultProfile DefaultProfile.getProfile(String regionId, IEndpointsProvider provider, String accessKeyId, String secret)
           
static DefaultProfile DefaultProfile.getProfile(String regionId, IEndpointsProvider provider, String accessKeyId, String secret, String stsToken)
           
static DefaultProfile DefaultProfile.getProfile(String regionId, Map<String,String> productDomainMap, String accessKeyId, String secret)
           给个性化用户使用的,CustomizedEndpointsParser 通过这个去解析endpoint, 非本地和location;所以一般情况不要使用这个 regionId, eg: cn-hangzhou productDomainMap,eg: Map productDomainMap= new HashMap(); productDomainMap.put("ecs","ecs.aliyuncs.com") accessKeyId secret
static DefaultProfile DefaultProfile.getProfile(String regionId, Map<String,String> productDomainMap, String accessKeyId, String secret, String stsToken)
           
static DefaultProfile DefaultProfile.getProfile(String regionId, String accessKeyId, String secret)
           
static DefaultProfile DefaultProfile.getProfile(String regionId, String accessKeyId, String secret, String stsToken)
           
 



Copyright © 2017. All Rights Reserved.