public static final class CreateHoneypotPresetRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
CreateHoneypotPresetRequest |
build() |
CreateHoneypotPresetRequest.Builder |
honeypotImageName(String honeypotImageName)
The name of the honeypot image.
|
CreateHoneypotPresetRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
CreateHoneypotPresetRequest.Builder |
meta(String meta)
The custom configurations of the honeypot template.
|
CreateHoneypotPresetRequest.Builder |
nodeId(String nodeId)
The ID of the management node to which you want to deploy honeypots.
|
CreateHoneypotPresetRequest.Builder |
presetName(String presetName)
The custom name of the honeypot template.
|
public CreateHoneypotPresetRequest.Builder honeypotImageName(String honeypotImageName)
The name of the honeypot image.
This parameter is required.
example:webmin
public CreateHoneypotPresetRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public CreateHoneypotPresetRequest.Builder meta(String meta)
The custom configurations of the honeypot template. The value is a JSON string that contains the following fields:
This parameter is required.
example:{"burp":"close","trojan_git":"close","portrait_option":"true"}
public CreateHoneypotPresetRequest.Builder nodeId(String nodeId)
The ID of the management node to which you want to deploy honeypots.
You can call the ListHoneypotNode operation to query the IDs of management nodes.
This parameter is required.
example:9373fe59-74d5-4505-bb24-c85352fb****
public CreateHoneypotPresetRequest.Builder presetName(String presetName)
The custom name of the honeypot template.
This parameter is required.
example:WebMin-online
public CreateHoneypotPresetRequest build()
Copyright © 2026. All rights reserved.