public static final class SaveWhiteListStrategyRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SaveWhiteListStrategyRequest |
build() |
SaveWhiteListStrategyRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
SaveWhiteListStrategyRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
SaveWhiteListStrategyRequest.Builder |
strategyId(Long strategyId)
The ID of the application whitelist policy.
|
SaveWhiteListStrategyRequest.Builder |
strategyName(String strategyName)
The name of the application whitelist policy.
|
SaveWhiteListStrategyRequest.Builder |
studyTime(Integer studyTime)
The duration of intelligent learning.
|
public SaveWhiteListStrategyRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public SaveWhiteListStrategyRequest.Builder sourceIp(String sourceIp)
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
public SaveWhiteListStrategyRequest.Builder strategyId(Long strategyId)
The ID of the application whitelist policy.
example:You can call the DescribeWhiteListStrategyList operation to query the ID.
8494
public SaveWhiteListStrategyRequest.Builder strategyName(String strategyName)
The name of the application whitelist policy.
This parameter is required.
example:test
public SaveWhiteListStrategyRequest.Builder studyTime(Integer studyTime)
The duration of intelligent learning. Unit: hours.
This parameter is required.
example:2
public SaveWhiteListStrategyRequest build()
Copyright © 2026. All rights reserved.