public static final class GetVideoListRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetVideoListRequest |
build() |
GetVideoListRequest.Builder |
cateId(Long cateId)
The ID of the video category.
|
GetVideoListRequest.Builder |
endTime(String endTime)
The end of the time range for querying videos based on their creation time.
|
GetVideoListRequest.Builder |
pageNo(Integer pageNo)
The number of the page to return.
|
GetVideoListRequest.Builder |
pageSize(Integer pageSize)
Optional.
|
GetVideoListRequest.Builder |
sortBy(String sortBy)
The method for sorting the results.
|
GetVideoListRequest.Builder |
startTime(String startTime)
The beginning of the time range for querying videos based on their creation time.
|
GetVideoListRequest.Builder |
status(String status)
The status of the video.
|
GetVideoListRequest.Builder |
storageLocation(String storageLocation)
The Object Storage Service (OSS) bucket where the video file is stored.
|
public GetVideoListRequest.Builder cateId(Long cateId)
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 fails to be uploaded. * **UploadSucc**: The video is uploaded. * **Transcoding**: The video is being transcoded. * **TranscodeFail**: The video fails to be transcoded. * **Blocked**: The video is blocked. * **Normal**: The video can be played.
public GetVideoListRequest.Builder storageLocation(String storageLocation)
public GetVideoListRequest build()
Copyright © 2023. All rights reserved.