public static final class UpdateMediaStorageClassRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
UpdateMediaStorageClassRequest.Builder |
allowUpdateWithoutTimeLimit(Boolean allowUpdateWithoutTimeLimit)
Specifies whether to change the storage class of a media asset that is stored for less than the minimum storage duration.
|
UpdateMediaStorageClassRequest |
build() |
UpdateMediaStorageClassRequest.Builder |
mediaIds(String mediaIds)
The media asset ID.
|
UpdateMediaStorageClassRequest.Builder |
restoreTier(String restoreTier)
The restoration priority.
|
UpdateMediaStorageClassRequest.Builder |
scope(String scope)
The modification range.
|
UpdateMediaStorageClassRequest.Builder |
storageClass(String storageClass)
The storage class.
|
public UpdateMediaStorageClassRequest.Builder allowUpdateWithoutTimeLimit(Boolean allowUpdateWithoutTimeLimit)
* **true** * **false** > If you forcibly change the storage class of a media asset that is stored for less than the minimum storage duration, additional data retrieval fees are incurred.
public UpdateMediaStorageClassRequest.Builder mediaIds(String mediaIds)
* 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, you can view the ID of the media asset. 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 that you call to upload media assets. * Obtain the value of the VideoId parameter from the response to the [SearchMedia](~~86044~~) operation that you call to query the media ID after the media asset is uploaded.
public UpdateMediaStorageClassRequest.Builder restoreTier(String restoreTier)
* **Expedited** * **Standard** * **Bulk**
public UpdateMediaStorageClassRequest.Builder scope(String scope)
* **All**: modifies the storage classes of all resources including the source files and transcoded streams. * **SourceFile**: modifies the storage classes of only the source files. The storage class of other resources is Standard.
public UpdateMediaStorageClassRequest.Builder storageClass(String storageClass)
* **Standard** * **IA** * **Archive** * **ColdArchive**
public UpdateMediaStorageClassRequest build()
Copyright © 2024. All rights reserved.