All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sas20181203.models.SaveWhiteListStrategyRequest Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sas20181203.models;

import com.aliyun.tea.*;

public class SaveWhiteListStrategyRequest extends TeaModel {
    /**
     * 

The language of the content within the request and response. Default value: zh. Valid values:

*
    *
  • zh: Chinese
  • *
  • en: English
  • *
* * example: *

zh

*/ @NameInMap("Lang") public String lang; /** *

The source IP address of the request. You do not need to specify this parameter. It is automatically obtained by the system.

* * example: *

124.89.XX.XX

*/ @NameInMap("SourceIp") public String sourceIp; /** *

The ID of the application whitelist policy.

*
*

You can call the DescribeWhiteListStrategyList operation to query the ID.

*
* * example: *

8494

*/ @NameInMap("StrategyId") public Long strategyId; /** *

The name of the application whitelist policy.

*

This parameter is required.

* * example: *

test

*/ @NameInMap("StrategyName") public String strategyName; /** *

The duration of intelligent learning. Unit: hours.

*

This parameter is required.

* * example: *

2

*/ @NameInMap("StudyTime") public Integer studyTime; public static SaveWhiteListStrategyRequest build(java.util.Map map) throws Exception { SaveWhiteListStrategyRequest self = new SaveWhiteListStrategyRequest(); return TeaModel.build(map, self); } public SaveWhiteListStrategyRequest setLang(String lang) { this.lang = lang; return this; } public String getLang() { return this.lang; } public SaveWhiteListStrategyRequest setSourceIp(String sourceIp) { this.sourceIp = sourceIp; return this; } public String getSourceIp() { return this.sourceIp; } public SaveWhiteListStrategyRequest setStrategyId(Long strategyId) { this.strategyId = strategyId; return this; } public Long getStrategyId() { return this.strategyId; } public SaveWhiteListStrategyRequest setStrategyName(String strategyName) { this.strategyName = strategyName; return this; } public String getStrategyName() { return this.strategyName; } public SaveWhiteListStrategyRequest setStudyTime(Integer studyTime) { this.studyTime = studyTime; return this; } public Integer getStudyTime() { return this.studyTime; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy