public static final class DeleteImageRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
DeleteImageRequest |
build() |
DeleteImageRequest.Builder |
deleteImageType(String deleteImageType)
The method that is used to delete images.
|
DeleteImageRequest.Builder |
imageIds(String imageIds)
The ID of the image file.
|
DeleteImageRequest.Builder |
imageType(String imageType)
The type of images that you want to delete.
|
DeleteImageRequest.Builder |
imageURLs(String imageURLs)
The URL of the image.
|
DeleteImageRequest.Builder |
videoId(String videoId)
The ID of the video file.
|
public DeleteImageRequest.Builder deleteImageType(String deleteImageType)
* **ImageURL**: deletes images based on URLs. * **ImageId**: deletes images based on image IDs. * **VideoId**: deletes images associated with a video based on the video ID.
public DeleteImageRequest.Builder imageIds(String imageIds)
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com). In the left-side navigation pane, choose **Media Files** > **Image** to view the image ID. This method is applicable to images that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of the ImageId parameter from the response to the [CreateUploadImage](~~55619~~) operation. * Obtain the value of the ImageId parameter from the response to the [SearchMedia](~~86044~~) operation after you upload images. > This parameter is required only if you set **DeleteImageType** to **ImageId**.
public DeleteImageRequest.Builder imageType(String imageType)
* **CoverSnapshot**: thumbnail snapshot. * **NormalSnapshot**: normal snapshot. * **SpriteSnapshot**: sprite snapshot. * **SpriteOriginSnapshot**: sprite source snapshot. * **All**: images of all the preceding types. If this parameter is not set to All, you can specify multiple types and separate the types with commas (,).
public DeleteImageRequest.Builder imageURLs(String imageURLs)
> This parameter is required only if you set **DeleteImageType** to **ImageURL**.
public DeleteImageRequest.Builder videoId(String videoId)
* Log on to the [ApsaraVideo VOD](https://vod.console.aliyun.com) console. In the left-side navigation pane, choose **Media Files** > **Audio/Video**. On the Video and Audio page, view the ID of the media file. This method is applicable to files that are uploaded by using the ApsaraVideo VOD console. * Obtain the value of the VideoId parameter from the response to the [CreateUploadVideo](~~55407~~) operation. * Obtain the value of the VideoId parameter from the response to the [SearchMedia](~~86044~~) operation after you upload media files. > This parameter is required only if you set **DeleteImageType** to **VideoId**.
public DeleteImageRequest build()
Copyright © 2024. All rights reserved.