public static final class UpdateWhiteListStrategyStatusRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateWhiteListStrategyStatusRequest |
build() |
UpdateWhiteListStrategyStatusRequest.Builder |
lang(String lang)
The language of the content within the request and response.
|
UpdateWhiteListStrategyStatusRequest.Builder |
sourceIp(String sourceIp)
The source IP address of the request.
|
UpdateWhiteListStrategyStatusRequest.Builder |
status(Integer status)
The status of the policy.
|
UpdateWhiteListStrategyStatusRequest.Builder |
strategyIds(String strategyIds)
The ID of the policy.
|
public UpdateWhiteListStrategyStatusRequest.Builder lang(String lang)
The language of the content within the request and response. Default value: zh. Valid values:
zh
public UpdateWhiteListStrategyStatusRequest.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:219.143.XX.XX
public UpdateWhiteListStrategyStatusRequest.Builder status(Integer status)
The status of the policy. Valid values:
You can change the status to paused only if the policy status is learning.
You can change the status to learning only if the policy status is paused.
You can change the status to enabled only if the policy status is learning completed.
This parameter is required.
example:1
public UpdateWhiteListStrategyStatusRequest.Builder strategyIds(String strategyIds)
The ID of the policy.
You can call the DescribeWhiteListStrategyList operation to obtain the ID.
This parameter is required.
example:8516
public UpdateWhiteListStrategyStatusRequest build()
Copyright © 2026. All rights reserved.