public static final class UploadedHoneyPotFileRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UploadedHoneyPotFileRequest |
build() |
UploadedHoneyPotFileRequest.Builder |
fileKey(String fileKey)
The file key that you use to upload the file.
|
UploadedHoneyPotFileRequest.Builder |
fileName(String fileName)
The name of the file that you want to upload.
|
UploadedHoneyPotFileRequest.Builder |
fileType(String fileType)
The file type.
|
UploadedHoneyPotFileRequest.Builder |
honeypotImageName(String honeypotImageName)
The name of the honeypot image.
|
UploadedHoneyPotFileRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UploadedHoneyPotFileRequest.Builder |
nodeId(String nodeId)
The ID of the management node to which the honeypot belongs.
|
UploadedHoneyPotFileRequest.Builder |
templateExtra(String templateExtra)
The prompt template that corresponds to the file.
|
public UploadedHoneyPotFileRequest.Builder fileKey(String fileKey)
The file key that you use to upload the file.
The key is in the format of HONEYPOT_FILE/{Timestamp}_{Custom file name}.
This parameter is required.
example:HONEYPOT_FILE/1601097845544644_********
public UploadedHoneyPotFileRequest.Builder fileName(String fileName)
The name of the file that you want to upload.
This parameter is required.
example:trojan.zip
public UploadedHoneyPotFileRequest.Builder fileType(String fileType)
The file type.
This parameter is required.
example:application/zip
public UploadedHoneyPotFileRequest.Builder honeypotImageName(String honeypotImageName)
The name of the honeypot image.
This parameter is required.
example:ruoyi
public UploadedHoneyPotFileRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public UploadedHoneyPotFileRequest.Builder nodeId(String nodeId)
The ID of the management node to which the honeypot belongs.
example:You can call the ListHoneypotNode operation to obtain the IDs of management nodes. operation to query the management node ID.
cc427e14-f257-4670-9d2b-d83bbbe*****
public UploadedHoneyPotFileRequest.Builder templateExtra(String templateExtra)
The prompt template that corresponds to the file.
This parameter is required.
example:{"help":".zip","label":"file","type":"file","key":"ftpfiles.zip"}
public UploadedHoneyPotFileRequest build()
Copyright © 2026. All rights reserved.