use of com.qcloud.cos.model.ciModel.queue.MediaQueueRequest in project cos-java-sdk-v5 by tencentyun.
the class QueueDemo method describeMediaQueues.
/**
* DescribeMediaQueues 接口用于搜索队列。
* @param client
*/
public static void describeMediaQueues(COSClient client) {
// 1.创建队列请求对象
MediaQueueRequest request = new MediaQueueRequest();
// 2.添加请求参数 参数详情请见api接口文档
request.setBucketName("DemoBucket-123456789");
// 3.调用接口,获取队列响应对象
MediaListQueueResponse response = client.describeMediaQueues(request);
System.out.println(response);
}
Aggregations