com.tencentcloudapi.common.profile.ClientProfile Java Examples
The following examples show how to use
com.tencentcloudapi.common.profile.ClientProfile.
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: AbstractClient.java From tencentcloud-sdk-java with Apache License 2.0 | 6 votes |
public AbstractClient( String endpoint, String version, Credential credential, String region, ClientProfile profile) { this.credential = credential; this.profile = profile; this.endpoint = endpoint; this.region = region; this.path = "/"; this.sdkVersion = AbstractClient.SDK_VERSION; this.apiVersion = version; this.gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create(); this.log = new Log(getClass().getName(), profile.isDebug()); warmup(); }
Example #2
Source File: SubmitFullBodyClassTask.java From tencentcloud-sdk-java with Apache License 2.0 | 5 votes |
public static void main(String[] args) { try { Credential cred = new Credential("", ""); HttpProfile httpProfile = new HttpProfile(); httpProfile.setReqMethod("POST"); httpProfile.setConnTimeout(60); httpProfile.setEndpoint("tci.ap-beijing.tencentcloudapi.com"); ClientProfile clientProfile = new ClientProfile(); clientProfile.setUnsignedPayload(true); clientProfile.setHttpProfile(httpProfile); TciClient client = new TciClient(cred, "",clientProfile); SubmitFullBodyClassTaskRequest req = new SubmitFullBodyClassTaskRequest(); req.setFileContent("https://edu-test-1253131631.cos.ap-guangzhou.myqcloud.com/aieduautotest/autotest_vedio.mp4"); req.setFileType("vod_url"); long lang=0; req.setLang(lang); req.setLibrarySet(new String[]{"library_15603955264181591716"}); req.setVocabLibNameList(new String[]{"testlib2"}); long EncodeType=1; req.setVoiceEncodeType(EncodeType); long FileType=10; req.setVoiceFileType(FileType); SubmitFullBodyClassTaskResponse res = client.SubmitFullBodyClassTask(req); System.out.println(SubmitFullBodyClassTaskResponse.toJsonString(res)); System.out.println(res.getRequestId()); } catch (TencentCloudSDKException e) { e.printStackTrace(); } }
Example #3
Source File: TtsClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TtsClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #4
Source File: MariadbClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public MariadbClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #5
Source File: MsClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public MsClient(Credential credential, String region, ClientProfile profile) { super(MsClient.endpoint, MsClient.version, credential, region, profile); }
Example #6
Source File: CdbClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public CdbClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #7
Source File: TcaplusdbClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TcaplusdbClient(Credential credential, String region, ClientProfile profile) { super(TcaplusdbClient.endpoint, TcaplusdbClient.version, credential, region, profile); }
Example #8
Source File: ApigatewayClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public ApigatewayClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #9
Source File: ChdfsClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public ChdfsClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #10
Source File: AbstractClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public ClientProfile getClientProfile() { return this.profile; }
Example #11
Source File: AbstractClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public AbstractClient(String endpoint, String version, Credential credential, String region) { this(endpoint, version, credential, region, new ClientProfile()); }
Example #12
Source File: MongodbClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public MongodbClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #13
Source File: DrmClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public DrmClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #14
Source File: TkgdqClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TkgdqClient(Credential credential, String region, ClientProfile profile) { super(TkgdqClient.endpoint, TkgdqClient.version, credential, region, profile); }
Example #15
Source File: CwsClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public CwsClient(Credential credential, String region, ClientProfile profile) { super(CwsClient.endpoint, CwsClient.version, credential, region, profile); }
Example #16
Source File: IaiClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public IaiClient(Credential credential, String region, ClientProfile profile) { super(IaiClient.endpoint, IaiClient.version, credential, region, profile); }
Example #17
Source File: DomainClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public DomainClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #18
Source File: TcrClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TcrClient(Credential credential, String region, ClientProfile profile) { super(TcrClient.endpoint, TcrClient.version, credential, region, profile); }
Example #19
Source File: NlpClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public NlpClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #20
Source File: MemcachedClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public MemcachedClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #21
Source File: CamClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public CamClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #22
Source File: AfClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public AfClient(Credential credential, String region, ClientProfile profile) { super(AfClient.endpoint, AfClient.version, credential, region, profile); }
Example #23
Source File: YunsouClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public YunsouClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #24
Source File: TicmClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TicmClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #25
Source File: GmeClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public GmeClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #26
Source File: CpdpClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public CpdpClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #27
Source File: YunsouClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public YunsouClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #28
Source File: TkeClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TkeClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #29
Source File: TbaasClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public TbaasClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }
Example #30
Source File: DsClient.java From tencentcloud-sdk-java with Apache License 2.0 | 4 votes |
public DsClient(Credential credential, String region) { this(credential, region, new ClientProfile()); }