public static final class UpdateHoneypotPresetRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateHoneypotPresetRequest |
build() |
UpdateHoneypotPresetRequest.Builder |
honeypotImageName(String honeypotImageName)
The name of the image that is used for the honeypot.
|
UpdateHoneypotPresetRequest.Builder |
honeypotPresetId(String honeypotPresetId)
The ID of the honeypot template.
|
UpdateHoneypotPresetRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UpdateHoneypotPresetRequest.Builder |
meta(String meta)
The custom configurations of the honeypot template.
|
UpdateHoneypotPresetRequest.Builder |
presetName(String presetName)
The custom name of the honeypot template.
|
public UpdateHoneypotPresetRequest.Builder honeypotImageName(String honeypotImageName)
The name of the image that is used for the honeypot.
example:metabase
public UpdateHoneypotPresetRequest.Builder honeypotPresetId(String honeypotPresetId)
The ID of the honeypot template.
You can call the ListHoneypotPreset operation to query the IDs of honeypot templates.
This parameter is required.
example:f75eddce-e9d3-4a88-af95-b10b6f65xxxx
public UpdateHoneypotPresetRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public UpdateHoneypotPresetRequest.Builder meta(String meta)
The custom configurations of the honeypot template. The value is a JSON string that contains the following fields:
{"portrait_option":true,"burp":"open"}
public UpdateHoneypotPresetRequest.Builder presetName(String presetName)
The custom name of the honeypot template.
example:apc_web_python
public UpdateHoneypotPresetRequest build()
Copyright © 2026. All rights reserved.