public static final class GetVideoPlayAuthRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetVideoPlayAuthRequest.Builder |
apiVersion(String apiVersion)
The API version number.
|
GetVideoPlayAuthRequest.Builder |
authInfoTimeout(Long authInfoTimeout)
The time when the playback credential expires.
|
GetVideoPlayAuthRequest |
build() |
GetVideoPlayAuthRequest.Builder |
videoId(String videoId)
The ID of the audio or video file.
|
public GetVideoPlayAuthRequest.Builder apiVersion(String apiVersion)
public GetVideoPlayAuthRequest.Builder authInfoTimeout(Long authInfoTimeout)
* Default value: **100**. * Valid values: `100 to 3000`.
public GetVideoPlayAuthRequest.Builder videoId(String videoId)
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the audio or video file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of the VideoId parameter when you call the [CreateUploadVideo](~~55407~~) operation to upload files. * Obtain the value of the VideoId parameter by calling the [SearchMedia](~~86044~~) operation. This method is applicable to files that have been uploaded.
public GetVideoPlayAuthRequest build()
Copyright © 2023. All rights reserved.