com.aliyuncs.profile
类 DefaultProfile

java.lang.Object
  继承者 com.aliyuncs.profile.DefaultProfile
所有已实现的接口:
IClientProfile

public class DefaultProfile
extends Object
implements IClientProfile


方法摘要
static void addEndpoint(String endpointName, String regionId, String product, String domain)
           
 Credential getCredential()
           
 List<Endpoint> getEndpoints()
           
 FormatType getFormat()
           
static DefaultProfile getProfile()
           
static DefaultProfile getProfile(String regionId, ICredentialProvider icredential)
           
static DefaultProfile getProfile(String regionId, String accessKeyId, String secret)
           
 String getRegionId()
           
 ISigner getSigner()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getSigner

public ISigner getSigner()
指定者:
接口 IClientProfile 中的 getSigner

getRegionId

public String getRegionId()
指定者:
接口 IClientProfile 中的 getRegionId

getFormat

public FormatType getFormat()
指定者:
接口 IClientProfile 中的 getFormat

getCredential

public Credential getCredential()
指定者:
接口 IClientProfile 中的 getCredential

getEndpoints

public List<Endpoint> getEndpoints()
                            throws ClientException
指定者:
接口 IClientProfile 中的 getEndpoints
抛出:
ClientException

getProfile

public static DefaultProfile getProfile()

getProfile

public static DefaultProfile getProfile(String regionId,
                                        ICredentialProvider icredential)

getProfile

public static DefaultProfile getProfile(String regionId,
                                        String accessKeyId,
                                        String secret)

addEndpoint

public static void addEndpoint(String endpointName,
                               String regionId,
                               String product,
                               String domain)
                        throws ClientException
抛出:
ClientException


Copyright © 2016. All Rights Reserved.