public static final class CreateUploadImageResponseBody.Builder extends Object
构造器和说明 |
---|
Builder() |
限定符和类型 | 方法和说明 |
---|---|
CreateUploadImageResponseBody |
build() |
CreateUploadImageResponseBody.Builder |
fileURL(String fileURL)
The OSS URL of the file.
|
CreateUploadImageResponseBody.Builder |
imageId(String imageId)
The ID of the image file.
|
CreateUploadImageResponseBody.Builder |
imageURL(String imageURL)
The URL of the image.
|
CreateUploadImageResponseBody.Builder |
requestId(String requestId)
The ID of the request.
|
CreateUploadImageResponseBody.Builder |
uploadAddress(String uploadAddress)
The upload URL.
|
CreateUploadImageResponseBody.Builder |
uploadAuth(String uploadAuth)
The upload credential.
|
public CreateUploadImageResponseBody.Builder fileURL(String fileURL)
public CreateUploadImageResponseBody.Builder imageId(String imageId)
public CreateUploadImageResponseBody.Builder imageURL(String imageURL)
> If the returned URL is inaccessible from a browser and the HTTP 403 status code is returned, the URL signing feature in ApsaraVideo VOD is enabled. To resolve this issue, you can disable the [URL signing](~~86090~~) feature or [generate a signed URL](~~57007~~).
public CreateUploadImageResponseBody.Builder requestId(String requestId)
public CreateUploadImageResponseBody.Builder uploadAddress(String uploadAddress)
> The returned upload URL is a Base64-encoded URL. You must decode the Base64-encoded URL before you use an SDK or call an API operation to upload auxiliary media assets. You need to parse UploadAddress only if you use the OSS SDK or call an OSS API operation to upload auxiliary media assets.
public CreateUploadImageResponseBody.Builder uploadAuth(String uploadAuth)
> The returned upload credential is a Base64-encoded value. You must decode the Base64-encoded credential before you use an SDK or call an API operation to upload auxiliary media assets. You need to parse UploadAuth only if you use the OSS SDK or call an OSS API operation to upload auxiliary media assets.
public CreateUploadImageResponseBody build()
Copyright © 2024. All rights reserved.