com.aliyun.sas20181203.models.UpdateHoneypotPresetRequest Maven / Gradle / Ivy
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;
import com.aliyun.tea.*;
public class UpdateHoneypotPresetRequest extends TeaModel {
/**
* The name of the image that is used for the honeypot.
*/
@NameInMap("HoneypotImageName")
public String honeypotImageName;
/**
* The ID of the honeypot template.
*
* > You can call the [ListHoneypotPreset](~~ListHoneypotPreset~~) operation to query the IDs of honeypot templates.
*/
@NameInMap("HoneypotPresetId")
public String honeypotPresetId;
@NameInMap("Lang")
public String lang;
/**
* The custom configurations of the honeypot template. The value is a JSON string that contains the following fields:
*
* * **portrait_option**: Social Source Tracing
* * **burp**: Burp-specific Defense
* * **trojan_git**: Git-specific Defense
*/
@NameInMap("Meta")
public String meta;
/**
* The custom name of the honeypot template.
*/
@NameInMap("PresetName")
public String presetName;
public static UpdateHoneypotPresetRequest build(java.util.Map map) throws Exception {
UpdateHoneypotPresetRequest self = new UpdateHoneypotPresetRequest();
return TeaModel.build(map, self);
}
public UpdateHoneypotPresetRequest setHoneypotImageName(String honeypotImageName) {
this.honeypotImageName = honeypotImageName;
return this;
}
public String getHoneypotImageName() {
return this.honeypotImageName;
}
public UpdateHoneypotPresetRequest setHoneypotPresetId(String honeypotPresetId) {
this.honeypotPresetId = honeypotPresetId;
return this;
}
public String getHoneypotPresetId() {
return this.honeypotPresetId;
}
public UpdateHoneypotPresetRequest setLang(String lang) {
this.lang = lang;
return this;
}
public String getLang() {
return this.lang;
}
public UpdateHoneypotPresetRequest setMeta(String meta) {
this.meta = meta;
return this;
}
public String getMeta() {
return this.meta;
}
public UpdateHoneypotPresetRequest setPresetName(String presetName) {
this.presetName = presetName;
return this;
}
public String getPresetName() {
return this.presetName;
}
}