com.tencentcloudapi.common.Credential Java Examples

The following examples show how to use com.tencentcloudapi.common.Credential. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EvaluationExamples.java    From tencentcloud-sdk-java with Apache License 2.0 6 votes vote down vote up
public static void main(String[] args) {


        Credential cred = new Credential(SECRET_ID, SECRET_KEY);
        HttpProfile httpProfile = new HttpProfile();

        /**
         *  设置访问域名,如果需要就近部署,可以使用 soe-tencentcloudapi.com, 腾讯云将根据访问的地域解析到合适的服务器上,如果调用服务已确定地域,如华南地区
         *  可以直接使用地域域名,加快访问速度
         */
        httpProfile.setEndpoint(END_POINT);
        ClientProfile clientProfile = new ClientProfile();
        clientProfile.setHttpProfile(httpProfile);
        SoeClient client = new SoeClient(cred, REGION, clientProfile);

        EvaluationOnce(client);
        EvaluationCn(client);
        EvaluationMutipleSeq(client);
        EvaluationAsync(client);
        EvaluationTransWithInit(client);
    }
 
Example #2
Source File: AfClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public AfClient(Credential credential, String region, ClientProfile profile) {
    super(AfClient.endpoint, AfClient.version, credential, region, profile);
}
 
Example #3
Source File: HcmClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public HcmClient(Credential credential, String region, ClientProfile profile) {
    super(HcmClient.endpoint, HcmClient.version, credential, region, profile);
}
 
Example #4
Source File: CdbClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public CdbClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #5
Source File: TrtcClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public TrtcClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #6
Source File: CloudauditClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public CloudauditClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #7
Source File: CfsClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public CfsClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #8
Source File: GaapClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public GaapClient(Credential credential, String region, ClientProfile profile) {
    super(GaapClient.endpoint, GaapClient.version, credential, region, profile);
}
 
Example #9
Source File: ChdfsClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public ChdfsClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #10
Source File: IottidClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public IottidClient(Credential credential, String region, ClientProfile profile) {
    super(IottidClient.endpoint, IottidClient.version, credential, region, profile);
}
 
Example #11
Source File: NlpClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public NlpClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #12
Source File: BmClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public BmClient(Credential credential, String region, ClientProfile profile) {
    super(BmClient.endpoint, BmClient.version, credential, region, profile);
}
 
Example #13
Source File: OrganizationClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public OrganizationClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #14
Source File: IaiClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public IaiClient(Credential credential, String region, ClientProfile profile) {
    super(IaiClient.endpoint, IaiClient.version, credential, region, profile);
}
 
Example #15
Source File: TiaClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public TiaClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #16
Source File: LpClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public LpClient(Credential credential, String region, ClientProfile profile) {
    super(LpClient.endpoint, LpClient.version, credential, region, profile);
}
 
Example #17
Source File: SslClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public SslClient(Credential credential, String region, ClientProfile profile) {
    super(SslClient.endpoint, SslClient.version, credential, region, profile);
}
 
Example #18
Source File: IirClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public IirClient(Credential credential, String region, ClientProfile profile) {
    super(IirClient.endpoint, IirClient.version, credential, region, profile);
}
 
Example #19
Source File: CamClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public CamClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #20
Source File: TmtClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public TmtClient(Credential credential, String region, ClientProfile profile) {
    super(TmtClient.endpoint, TmtClient.version, credential, region, profile);
}
 
Example #21
Source File: MpsClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public MpsClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #22
Source File: MongodbClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public MongodbClient(Credential credential, String region, ClientProfile profile) {
    super(MongodbClient.endpoint, MongodbClient.version, credential, region, profile);
}
 
Example #23
Source File: FtClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public FtClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #24
Source File: KmsClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public KmsClient(Credential credential, String region, ClientProfile profile) {
    super(KmsClient.endpoint, KmsClient.version, credential, region, profile);
}
 
Example #25
Source File: LiveClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public LiveClient(Credential credential, String region, ClientProfile profile) {
    super(LiveClient.endpoint, LiveClient.version, credential, region, profile);
}
 
Example #26
Source File: MariadbClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public MariadbClient(Credential credential, String region, ClientProfile profile) {
    super(MariadbClient.endpoint, MariadbClient.version, credential, region, profile);
}
 
Example #27
Source File: RedisClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public RedisClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}
 
Example #28
Source File: VodClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public VodClient(Credential credential, String region, ClientProfile profile) {
    super(VodClient.endpoint, VodClient.version, credential, region, profile);
}
 
Example #29
Source File: HaboClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public HaboClient(Credential credential, String region, ClientProfile profile) {
    super(HaboClient.endpoint, HaboClient.version, credential, region, profile);
}
 
Example #30
Source File: TagClient.java    From tencentcloud-sdk-java with Apache License 2.0 4 votes vote down vote up
public TagClient(Credential credential, String region) {
    this(credential, region, new ClientProfile());
}