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();