public class CreateUploadAttachedMediaResponseBody
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
fileURL
The OSS URL of the file.
|
String |
mediaId
The ID of the auxiliary media asset.
|
String |
mediaURL
The URL of the auxiliary media asset.
|
String |
requestId
The ID of the request.
|
String |
uploadAddress
The upload URL.
|
String |
uploadAuth
The upload credential.
|
| 构造器和说明 |
|---|
CreateUploadAttachedMediaResponseBody() |
| 限定符和类型 | 方法和说明 |
|---|---|
static CreateUploadAttachedMediaResponseBody |
build(Map<String,?> map) |
String |
getFileURL() |
String |
getMediaId() |
String |
getMediaURL() |
String |
getRequestId() |
String |
getUploadAddress() |
String |
getUploadAuth() |
CreateUploadAttachedMediaResponseBody |
setFileURL(String fileURL) |
CreateUploadAttachedMediaResponseBody |
setMediaId(String mediaId) |
CreateUploadAttachedMediaResponseBody |
setMediaURL(String mediaURL) |
CreateUploadAttachedMediaResponseBody |
setRequestId(String requestId) |
CreateUploadAttachedMediaResponseBody |
setUploadAddress(String uploadAddress) |
CreateUploadAttachedMediaResponseBody |
setUploadAuth(String uploadAuth) |
@NameInMap(value="FileURL") public String fileURL
The OSS URL of the file. The URL does not contain the information used for URL signing. You can set the FileUrl parameter to this URL when you call the [AddWatermark](~~98617~~) operation.
@NameInMap(value="MediaId") public String mediaId
The ID of the auxiliary media asset.
@NameInMap(value="MediaURL") public String mediaURL
The URL of the auxiliary media asset. If a domain name for Alibaba Cloud CDN (CDN) is specified, a CDN URL is returned. Otherwise, an OSS URL is returned.
> If you enable the URL signing feature of ApsaraVideo VOD, you may be unable to access the returned URL of the auxiliary media asset by using a browser and the HTTP status code 403 may be returned. You can disable the [URL signing](~~86090~~) feature or [generate an authentication signature](~~57007~~).
@NameInMap(value="RequestId") public String requestId
The ID of the request.
@NameInMap(value="UploadAddress") public String uploadAddress
The upload URL.
> The upload URL returned by this operation is Base64-encoded. Before you can use an SDK or an API operation to upload a media asset based on the upload URL, you must decode the upload URL by using the Base64 algorithm. You must parse the upload URL only if you use native OSS SDKs or OSS API for uploads.
@NameInMap(value="UploadAuth") public String uploadAuth
The upload credential.
> The upload credential returned by this operation is Base64-encoded. Before you can use an SDK or an API operation to upload a media asset based on the upload credential, you must decode the upload credential by using the Base64 algorithm. You must parse the upload credential only if you use native OSS SDKs or OSS API for uploads.
public static CreateUploadAttachedMediaResponseBody build(Map<String,?> map) throws Exception
Exceptionpublic CreateUploadAttachedMediaResponseBody setFileURL(String fileURL)
public String getFileURL()
public CreateUploadAttachedMediaResponseBody setMediaId(String mediaId)
public String getMediaId()
public CreateUploadAttachedMediaResponseBody setMediaURL(String mediaURL)
public String getMediaURL()
public CreateUploadAttachedMediaResponseBody setRequestId(String requestId)
public String getRequestId()
public CreateUploadAttachedMediaResponseBody setUploadAddress(String uploadAddress)
public String getUploadAddress()
public CreateUploadAttachedMediaResponseBody setUploadAuth(String uploadAuth)
public String getUploadAuth()
Copyright © 2024. All rights reserved.