public static final class CreateFileDetectUploadUrlRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateFileDetectUploadUrlRequest |
build() |
CreateFileDetectUploadUrlRequest.Builder |
hashKeyContextList(List<CreateFileDetectUploadUrlRequest.HashKeyContextList> hashKeyContextList)
The hash values of files.
|
CreateFileDetectUploadUrlRequest.Builder |
hashKeyList(List<String> hashKeyList)
The identifiers of files.
|
CreateFileDetectUploadUrlRequest.Builder |
type(Integer type)
The type of the file.
|
public CreateFileDetectUploadUrlRequest.Builder hashKeyContextList(List<CreateFileDetectUploadUrlRequest.HashKeyContextList> hashKeyContextList)
The hash values of files.
You must specify at least one of the HashKeyList and HashKeyContextList parameters.
public CreateFileDetectUploadUrlRequest.Builder hashKeyList(List<String> hashKeyList)
The identifiers of files. Only MD5 hash values are supported.
example:You must specify at least one of the HashKeyList and HashKeyContextList parameters.
CreateFileDetectUploadUrl
public CreateFileDetectUploadUrlRequest.Builder type(Integer type)
The type of the file. Valid values:
If you do not know the type of the file, set this parameter to 0.
This parameter is required.
example:0
public CreateFileDetectUploadUrlRequest build()
Copyright © 2026. All rights reserved.