public static final class CreateFileDetectUploadUrlResponseBody.Context.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateFileDetectUploadUrlResponseBody.Context.Builder |
accessId(String accessId)
The AccessKey ID that is used to access the OSS bucket.
|
CreateFileDetectUploadUrlResponseBody.Context |
build() |
CreateFileDetectUploadUrlResponseBody.Context.Builder |
ossKey(String ossKey)
The key of the file that is used after the file is uploaded to the OSS bucket.
|
CreateFileDetectUploadUrlResponseBody.Context.Builder |
policy(String policy)
The policy that poses limits on file upload.
|
CreateFileDetectUploadUrlResponseBody.Context.Builder |
signature(String signature)
The signature that is used to upload the file.
|
public CreateFileDetectUploadUrlResponseBody.Context.Builder accessId(String accessId)
The AccessKey ID that is used to access the OSS bucket.
example:yourAccessKeyID
public CreateFileDetectUploadUrlResponseBody.Context.Builder ossKey(String ossKey)
The key of the file that is used after the file is uploaded to the OSS bucket.
example:1/2022/06/23/15/41/16559701077444693a0c6-33b2-4cc2-a99f-9f38b8b8****
public CreateFileDetectUploadUrlResponseBody.Context.Builder policy(String policy)
The policy that poses limits on file upload. For example, the policy can limit the size of the file.
example:eyJleHBpcmF0aW9uIjoiMjAyMi0wNy0yM1QxMDo1ODoxMC43NTNaIiwiY29uZGl0aW9ucyI6W1siY29udGVudC1sZW5ndGgtcmFuZ2UiLDAsMjA5NzE1MjBdLFsiZXEiLCIka2V5IiwiMS8yMDIyLzA2LzIzLzE4LzU4LzE2NTU5ODE4OTA3NTM4NTc2MjFkNS1kN2E1LTQ5YzAtOGJjZi0yMTMyY2JiYTdmYzMi****
public CreateFileDetectUploadUrlResponseBody.Context.Builder signature(String signature)
The signature that is used to upload the file.
example:wDhPgVdnY/bkKFYcYFl+4crl****
public CreateFileDetectUploadUrlResponseBody.Context build()
Copyright © 2026. All rights reserved.