forked from docs/doc-exports
Reviewed-by: gtema <artem.goncharov@gmail.com> Co-authored-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com> Co-committed-by: Xiong, Chen Xiao <chenxiaoxiong@huawei.com>
1.5 KiB
1.5 KiB
Initializing a DIS SDK Asynchronous Client Instance
Initialize a DIS SDK asynchronous client instance. For details about endpoint, ak, sk, region, and projectId, see Obtaining Authentication Information.
//Create a DIS client instance. DISAsync dicAsync = DISClientAsyncBuilder.standard() .withEndpoint("https://ip:port") .withAk("xxxx") .withSk("xxxx") .withProjectId("xxxx") .withRegion("xxxx") .withExecutorFactory(new DefaultExecutorFactory()) .build();
Parent topic: Uploading Real-Time Files