public static final class GetMezzanineInfoResponseBody.Mezzanine.Builder extends Object
构造器和说明 |
---|
Builder() |
public GetMezzanineInfoResponseBody.Mezzanine.Builder audioStreamList(List<GetMezzanineInfoResponseBody.AudioStreamList> audioStreamList)
public GetMezzanineInfoResponseBody.Mezzanine.Builder bitrate(String bitrate)
- **oss**: OSS URL - **cdn** (default): Content Delivery Network (CDN) URL > If the mezzanine file is stored in a bucket of the in type, only an OSS URL is returned.
public GetMezzanineInfoResponseBody.Mezzanine.Builder creationTime(String creationTime)
public GetMezzanineInfoResponseBody.Mezzanine.Builder duration(String duration)
* **video**: video stream information * **audio**: audio stream information
public GetMezzanineInfoResponseBody.Mezzanine.Builder fileName(String fileName)
public GetMezzanineInfoResponseBody.Mezzanine.Builder fileURL(String fileURL)
public GetMezzanineInfoResponseBody.Mezzanine.Builder fps(String fps)
public GetMezzanineInfoResponseBody.Mezzanine.Builder height(Long height)
public GetMezzanineInfoResponseBody.Mezzanine.Builder outputType(String outputType)
public GetMezzanineInfoResponseBody.Mezzanine.Builder restoreExpiration(String restoreExpiration)
public GetMezzanineInfoResponseBody.Mezzanine.Builder restoreStatus(String restoreStatus)
public GetMezzanineInfoResponseBody.Mezzanine.Builder size(Long size)
public GetMezzanineInfoResponseBody.Mezzanine.Builder status(String status)
* If the OutputType parameter is set to **cdn**: * The mezzanine file URL has a validity period only if URL signing is enabled. Otherwise, the mezzanine file URL 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 mezzanine file URL has a validity period only if the permissions on the Object Storage Service (OSS) bucket are private. Otherwise, the mezzanine file URL 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 GetMezzanineInfoResponseBody.Mezzanine.Builder storageClass(String storageClass)
public GetMezzanineInfoResponseBody.Mezzanine.Builder videoId(String videoId)
public GetMezzanineInfoResponseBody.Mezzanine.Builder videoStreamList(List<GetMezzanineInfoResponseBody.VideoStreamList> videoStreamList)
* **mono**: mono sound channel * **stereo**: two sound channels
public GetMezzanineInfoResponseBody.Mezzanine.Builder width(Long width)
public GetMezzanineInfoResponseBody.Mezzanine build()
Copyright © 2023. All rights reserved.