public static final class GetAttachedMediaInfoRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
GetAttachedMediaInfoRequest.Builder |
authTimeout(Long authTimeout)
The validity period of the URL of the auxiliary media asset.
|
GetAttachedMediaInfoRequest |
build() |
GetAttachedMediaInfoRequest.Builder |
mediaIds(String mediaIds)
The ID of the auxiliary media asset.
|
GetAttachedMediaInfoRequest.Builder |
outputType(String outputType)
The type of the URL of the auxiliary media asset.
|
public GetAttachedMediaInfoRequest.Builder authTimeout(Long authTimeout)
> * 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**.
public GetAttachedMediaInfoRequest.Builder mediaIds(String mediaIds)
public GetAttachedMediaInfoRequest.Builder outputType(String outputType)
* **oss**: OSS URL * **cdn** (default): Content Delivery Network (CDN) URL
public GetAttachedMediaInfoRequest build()
Copyright © 2023. All rights reserved.