public static final class ListSnapshotsRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
ListSnapshotsRequest.Builder |
authTimeout(String authTimeout)
The validity period of the snapshot URL.
|
ListSnapshotsRequest |
build() |
ListSnapshotsRequest.Builder |
pageNo(String pageNo)
The number of the page to turn.
|
ListSnapshotsRequest.Builder |
pageSize(String pageSize)
The number of entries to return on each page.
|
ListSnapshotsRequest.Builder |
snapshotType(String snapshotType)
The type of snapshots that are returned.
|
ListSnapshotsRequest.Builder |
videoId(String videoId)
The ID of the video.
|
public ListSnapshotsRequest.Builder authTimeout(String authTimeout)
* This parameter only takes effect when [URL authentication](~~57007~~) is enabled. * If the specified validity period is less than **3600** seconds, the default value is **3600**. * If an Object Storage Service (OSS) URL is returned, the maximum validity period is limited to **2592000** seconds (30 days) to reduce security risks of the origin.
public ListSnapshotsRequest.Builder pageNo(String pageNo)
public ListSnapshotsRequest.Builder pageSize(String pageSize)
public ListSnapshotsRequest.Builder snapshotType(String snapshotType)
* **CoverSnapshot**: thumbnail snapshot * **NormalSnapshot**: normal snapshot * **SpriteSnapshot**: sprite snapshot * **SpriteOriginSnapshot**: sprite source snapshot * **WebVttSnapshot**: WebVTT snapshot
public ListSnapshotsRequest.Builder videoId(String videoId)
public ListSnapshotsRequest build()
Copyright © 2024. All rights reserved.