public class UpdateMediaStorageClassRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
allowUpdateWithoutTimeLimit |
String |
mediaIds
The media asset ID.
|
String |
restoreTier
The restoration priority.
|
String |
scope
The modification range.
|
String |
storageClass
The storage class to which you want to modify.
|
| 构造器和说明 |
|---|
UpdateMediaStorageClassRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static UpdateMediaStorageClassRequest |
build(Map<String,?> map) |
Boolean |
getAllowUpdateWithoutTimeLimit() |
String |
getMediaIds() |
String |
getRestoreTier() |
String |
getScope() |
String |
getStorageClass() |
UpdateMediaStorageClassRequest |
setAllowUpdateWithoutTimeLimit(Boolean allowUpdateWithoutTimeLimit) |
UpdateMediaStorageClassRequest |
setMediaIds(String mediaIds) |
UpdateMediaStorageClassRequest |
setRestoreTier(String restoreTier) |
UpdateMediaStorageClassRequest |
setScope(String scope) |
UpdateMediaStorageClassRequest |
setStorageClass(String storageClass) |
@NameInMap(value="AllowUpdateWithoutTimeLimit") public Boolean allowUpdateWithoutTimeLimit
@NameInMap(value="MediaIds") public String mediaIds
The media asset ID. You can specify a maximum of 20 IDs. Separate multiple IDs with commas (,). You can use one of the following methods to obtain the ID:
* 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.
@NameInMap(value="RestoreTier") public String restoreTier
The restoration priority. This parameter is required only when you restore a Cold Archive media asset. Valid values:
* **Expedited**
* **Standard**
* **Bulk**
@NameInMap(value="Scope") public String scope
The modification range. Valid values:
* **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.
@NameInMap(value="StorageClass") public String storageClass
The storage class to which you want to modify. Valid values:
* **Standard**
* **IA**
* **Archive**
* **ColdArchive**
public static UpdateMediaStorageClassRequest build(Map<String,?> map) throws Exception
Exceptionpublic UpdateMediaStorageClassRequest setAllowUpdateWithoutTimeLimit(Boolean allowUpdateWithoutTimeLimit)
public Boolean getAllowUpdateWithoutTimeLimit()
public UpdateMediaStorageClassRequest setMediaIds(String mediaIds)
public String getMediaIds()
public UpdateMediaStorageClassRequest setRestoreTier(String restoreTier)
public String getRestoreTier()
public UpdateMediaStorageClassRequest setScope(String scope)
public String getScope()
public UpdateMediaStorageClassRequest setStorageClass(String storageClass)
public String getStorageClass()
Copyright © 2024. All rights reserved.