public static final class GetVideoListRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetVideoListRequest |
build() |
GetVideoListRequest.Builder |
cateId(Long cateId)
The ID of the category.
|
GetVideoListRequest.Builder |
endTime(String endTime)
The end of the time range to query.
|
GetVideoListRequest.Builder |
pageNo(Integer pageNo)
The number of the page to return.
|
GetVideoListRequest.Builder |
pageSize(Integer pageSize)
The number of entries to return on each page.
|
GetVideoListRequest.Builder |
sortBy(String sortBy)
The sorting method of the results.
|
GetVideoListRequest.Builder |
startTime(String startTime)
The beginning of the time range to query.
|
GetVideoListRequest.Builder |
status(String status)
The status of the video.
|
GetVideoListRequest.Builder |
storageLocation(String storageLocation)
The storage address of the media file.
|
public GetVideoListRequest.Builder cateId(Long cateId)
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Management** > **Categories** to view the category ID. * Obtain the value of CateId from the response to the [AddCategory](~~56401~~) operation. * Obtain the value of CateId from the response to the [GetCategories](~~56406~~) operation.
public GetVideoListRequest.Builder endTime(String endTime)
public GetVideoListRequest.Builder pageNo(Integer pageNo)
public GetVideoListRequest.Builder pageSize(Integer pageSize)
public GetVideoListRequest.Builder sortBy(String sortBy)
* **CreationTime:Desc** (default): The results are sorted in reverse chronological order based on the creation time. * **CreationTime:Asc**: The results are sorted in chronological order based on the creation time.
public GetVideoListRequest.Builder startTime(String startTime)
public GetVideoListRequest.Builder status(String status)
* **Uploading**: The video is being uploaded. * **UploadFail**: The video failed to be uploaded. * **UploadSucc**: The video has been uploaded. * **Transcoding**: The video is being transcoded. * **TranscodeFail**: The video failed to be transcoded. * **checking**: The video is being reviewed. * **Blocked**: The video is blocked. * **Normal**: The video is normal. * **ProduceFail**: The video failed to be produced. For more information about each video status, see the "Status: the status of a video" section of the [Basic data types](~~52839#section-p7c-jgy-070~~) topic.
public GetVideoListRequest.Builder storageLocation(String storageLocation)
public GetVideoListRequest build()
Copyright © 2024. All rights reserved.