public static final class GetVideoPlayAuthRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetVideoPlayAuthRequest.Builder |
apiVersion(String apiVersion)
The API version.
|
GetVideoPlayAuthRequest.Builder |
authInfoTimeout(Long authInfoTimeout)
The validity period of the playback credential.
|
GetVideoPlayAuthRequest |
build() |
GetVideoPlayAuthRequest.Builder |
videoId(String videoId)
The ID of the media file.
|
public GetVideoPlayAuthRequest.Builder apiVersion(String apiVersion)
public GetVideoPlayAuthRequest.Builder authInfoTimeout(Long authInfoTimeout)
* Default value: **100**. * Valid values: `[100,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 media file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of the VideoId parameter from the response to the [CreateUploadVideo](~~55407~~) operation. * Obtain the value of the VideoId parameter from the response to the [SearchMedia](~~86044~~) operation. This method is applicable to files that have been uploaded.
public GetVideoPlayAuthRequest build()
Copyright © 2024. All rights reserved.