public static final class CreateHoneypotRequest.Builder extends Object
限定符和类型 | 方法和说明 |
---|---|
CreateHoneypotRequest |
build() |
CreateHoneypotRequest.Builder |
honeypotImageId(String honeypotImageId)
The ID of the image that is used for the honeypot.
|
CreateHoneypotRequest.Builder |
honeypotImageName(String honeypotImageName)
The name of the image that is used for the honeypot.
|
CreateHoneypotRequest.Builder |
honeypotName(String honeypotName)
The custom name of the honeypot.
|
CreateHoneypotRequest.Builder |
meta(String meta)
The custom configuration of the honeypot in the JSON format.
|
CreateHoneypotRequest.Builder |
nodeId(String nodeId)
The ID of the management node to which you want to deploy the honeypot.
|
public CreateHoneypotRequest.Builder honeypotImageId(String honeypotImageId)
> You can call the [ListAvailableHoneypot](~~ListAvailableHoneypot~~) operation to obtain the IDs of images from the **HoneypotImageId** response parameter.
public CreateHoneypotRequest.Builder honeypotImageName(String honeypotImageName)
> You can call the [ListAvailableHoneypot](~~ListAvailableHoneypot~~) operation to obtain the names of images from the **HoneypotImageName** response parameter.
public CreateHoneypotRequest.Builder honeypotName(String honeypotName)
public CreateHoneypotRequest.Builder meta(String meta)
* **trojan_git**: Git-specific Defense. Valid values: * **zip**: Git Source Code Package * **web**: Git Directory Leak * **close**: Disabled * **trojan\_git_addr**: Git Trojan Address. * **trojan_git.zip**: Git Trojan. * **burp**: Burp-specific Defense. Valid values: * **open**: Enabled * **close**: Disabled * **portrait_option**: Source Tracing Configuration. Valid values: * **false**: Disable * **true**: Enable
public CreateHoneypotRequest.Builder nodeId(String nodeId)
> You can call the [ListHoneypotNode](~~ListHoneypotNode~~) operation to obtain the IDs of management nodes.
public CreateHoneypotRequest build()
Copyright © 2023. All rights reserved.