public class GetAttachedMediaInfoRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
authTimeout
The validity period of the URL of the auxiliary media asset.
|
String |
mediaIds
The ID of the auxiliary media asset.
|
String |
outputType
The type of the URL of the auxiliary media asset.
|
| 构造器和说明 |
|---|
GetAttachedMediaInfoRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetAttachedMediaInfoRequest |
build(Map<String,?> map) |
Long |
getAuthTimeout() |
String |
getMediaIds() |
String |
getOutputType() |
GetAttachedMediaInfoRequest |
setAuthTimeout(Long authTimeout) |
GetAttachedMediaInfoRequest |
setMediaIds(String mediaIds) |
GetAttachedMediaInfoRequest |
setOutputType(String outputType) |
@NameInMap(value="AuthTimeout") public Long authTimeout
The validity period of the URL of the auxiliary media asset. Unit: seconds.
> * If the OutputType parameter is set to **cdn**:
> * The URL of the auxiliary media asset has a validity period only if URL signing is enabled. Otherwise, the URL of the auxiliary media asset is permanently valid.
> * Minimum value: **1**.
> * Maximum value: unlimited.
> * Default value: If you do not set this parameter, the default validity period that is specified in URL signing is used.
> * If the OutputType parameter is set to **oss**:
> * The URL of the auxiliary media asset has a validity period only if the permissions on the Object Storage Service (OSS) bucket are private. Otherwise, the URL of the auxiliary media asset is permanently valid.
> * Minimum value: **1**.
> * Maximum value: **2592000** (30 days). The maximum value is limited to reduce security risks of the origin.
> * Default value: If you do not set this parameter, the default value is **3600**.
@NameInMap(value="MediaIds") public String mediaIds
The ID of the auxiliary media asset. Separate multiple IDs with commas (,). A maximum of 20 IDs can be specified.
@NameInMap(value="OutputType") public String outputType
The type of the URL of the auxiliary media asset. Valid values:
* **oss**: OSS URL
* **cdn** (default): Content Delivery Network (CDN) URL
public static GetAttachedMediaInfoRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetAttachedMediaInfoRequest setAuthTimeout(Long authTimeout)
public Long getAuthTimeout()
public GetAttachedMediaInfoRequest setMediaIds(String mediaIds)
public String getMediaIds()
public GetAttachedMediaInfoRequest setOutputType(String outputType)
public String getOutputType()
Copyright © 2024. All rights reserved.