public class RestoreMediaRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
mediaIds
The ID of the media asset.
|
String |
restoreDays
The number of days during which media assets remain in the restored state.
|
String |
restoreTier
The restoration priority.
|
String |
scope
The modification range.
|
| 构造器和说明 |
|---|
RestoreMediaRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static RestoreMediaRequest |
build(Map<String,?> map) |
String |
getMediaIds() |
String |
getRestoreDays() |
String |
getRestoreTier() |
String |
getScope() |
RestoreMediaRequest |
setMediaIds(String mediaIds) |
RestoreMediaRequest |
setRestoreDays(String restoreDays) |
RestoreMediaRequest |
setRestoreTier(String restoreTier) |
RestoreMediaRequest |
setScope(String scope) |
@NameInMap(value="MediaIds") public String mediaIds
The ID of the media asset. 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 of the media asset.
* Log on to the ApsaraVideo VOD console. In the left-side navigation pane, choose Media Files > Audio/Video. On the Video and Audio page, 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 VideoId from the response to the CreateUploadVideo operation that you call to upload media assets.
* Obtain the value of VideoId from the response to the SearchMedia operation that you call to query the media ID after the media asset is uploaded.
@NameInMap(value="RestoreDays") public String restoreDays
The number of days during which media assets remain in the restored state. Default value: 1. The maximum validity period of a restored Archive media asset is 7 days and the maximum validity period of a restored Cold Archive media asset is 365 days.
@NameInMap(value="RestoreTier") public String restoreTier
The restoration priority. This parameter is required only when you restore a Cold Archive media file. Valid values:
* **Expedited**: The file is restored within 1 hour.
* **Standard**: The file is restored within 2 to 5 hours.
* **Bulk**: The file is restored within 5 to 12 hours.
@NameInMap(value="Scope") public String scope
The modification range. Valid values:
* **All**: restores all resources, including the source files and transcoded streams.
* **SourceFile**: restores only the source files.
public static RestoreMediaRequest build(Map<String,?> map) throws Exception
Exceptionpublic RestoreMediaRequest setMediaIds(String mediaIds)
public String getMediaIds()
public RestoreMediaRequest setRestoreDays(String restoreDays)
public String getRestoreDays()
public RestoreMediaRequest setRestoreTier(String restoreTier)
public String getRestoreTier()
public RestoreMediaRequest setScope(String scope)
public String getScope()
Copyright © 2024. All rights reserved.