public static final class CreateUploadAttachedMediaRequest.Builder extends Object
public CreateUploadAttachedMediaRequest.Builder appId(String appId)
public CreateUploadAttachedMediaRequest.Builder businessType(String businessType)
* **watermark** * **subtitle** * **material**
public CreateUploadAttachedMediaRequest.Builder cateIds(String cateIds)
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Management** > **Categories**. On the Categories page, you can view the category ID. * View the value of the CateId parameter returned by the [AddCategory](~~56401~~) operation that you called to create a category. * View the value of the CateId parameter returned by the [GetCategories](~~56406~~) operation that you called to query a category.
public CreateUploadAttachedMediaRequest.Builder description(String description)
* The description can be up to 1,024 bytes in length. * The value must be encoded in UTF-8.
public CreateUploadAttachedMediaRequest.Builder fileName(String fileName)
public CreateUploadAttachedMediaRequest.Builder fileSize(String fileSize)
public CreateUploadAttachedMediaRequest.Builder mediaExt(String mediaExt)
* Valid values for watermarks: **png, gif, apng, and mov** * Valid values for subtitles: **srt, ass, stl, ttml, and vtt** * Valid values for materials: **jpg, gif, png, mp4, mat, zip, and apk**
public CreateUploadAttachedMediaRequest.Builder storageLocation(String storageLocation)
Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Configuration Management** > **Media Management** > **Storage**. On the Storage page, you can view the storage location. > If this parameter is set to a specific value, the auxiliary media asset is uploaded to the specified storage location.
public CreateUploadAttachedMediaRequest.Builder tags(String tags)
* You can specify a maximum of 16 tags. * If you need to specify multiple tags, separate the tags with commas (,). * Each tag can be up to 32 characters in length. * The value must be encoded in UTF-8.
public CreateUploadAttachedMediaRequest.Builder title(String title)
* The title can be up to 128 bytes in length. * The value must be encoded in UTF-8.
public CreateUploadAttachedMediaRequest.Builder userData(String userData)
> * The callback configurations take effect only after you specify the HTTP callback URL and select the specific callback events in the ApsaraVideo VOD console. For more information about how to configure an HTTP callback in the ApsaraVideo VOD console, see [Configure callback settings](~~86071~~). >* To use the upload acceleration feature, submit a [ticket](https://ticket-intl.console.aliyun.com/#/ticket/createIndex) to enable this feature. For more information, see [Overview](~~55396~~).
public CreateUploadAttachedMediaRequest build()
Copyright © 2024. All rights reserved.