public class GetImageInfosRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
Long |
authTimeout
The time when the image URL expires.
|
String |
imageIds
The image IDs.
|
String |
outputType
The type of the output image URL.
|
| 构造器和说明 |
|---|
GetImageInfosRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static GetImageInfosRequest |
build(Map<String,?> map) |
Long |
getAuthTimeout() |
String |
getImageIds() |
String |
getOutputType() |
GetImageInfosRequest |
setAuthTimeout(Long authTimeout) |
GetImageInfosRequest |
setImageIds(String imageIds) |
GetImageInfosRequest |
setOutputType(String outputType) |
@NameInMap(value="AuthTimeout") public Long authTimeout
The time when the image URL expires. Unit: seconds.
* If the OutputType parameter is set to cdn:
* This parameter takes effect only if URL authentication is enabled. Otherwise, the image URL does not expire.
* Minimum value: 1.
* Maximum value: unlimited.
* Default value: The default validity period that is specified in URL authentication is used.
* If the OutputType parameter is set to oss:
* This parameter takes effect only when the ACL of the Object Storage Service (OSS) bucket is private. Otherwise, the image URL does not expire.
* Minimum value: 1.
* Maximum value: 2592000 (30 days). This limit is imposed to reduce security risks of the origin server.
* Default value: 3600.
@NameInMap(value="ImageIds") public String imageIds
The image IDs. Separate multiple IDs with commas (,). You can specify a maximum of 20 image IDs. You can use one of the following methods to obtain the image ID:
* Log on to the [ApsaraVideo VOD console](https://vod.console.aliyun.com/) and choose Media Files > Images in the left-side navigation pane. This method is applicable to images that are uploaded by using the ApsaraVideo VOD console.
* Obtain the value of ImageId from the response to the [CreateUploadImage](~~436544~~) operation that you call to obtain the upload URL and credential.
* Obtain the value of ImageId from the response to the [SearchMedia](~~436559~~) operation after you upload images.
@NameInMap(value="OutputType") public String outputType
The type of the output image URL. Valid values:
* oss: OSS URL
* cdn: CDN URL
public static GetImageInfosRequest build(Map<String,?> map) throws Exception
Exceptionpublic GetImageInfosRequest setAuthTimeout(Long authTimeout)
public Long getAuthTimeout()
public GetImageInfosRequest setImageIds(String imageIds)
public String getImageIds()
public GetImageInfosRequest setOutputType(String outputType)
public String getOutputType()
Copyright © 2024. All rights reserved.