public static final class ModifyMajorProtectionBlackIpRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
ModifyMajorProtectionBlackIpRequest |
build() |
ModifyMajorProtectionBlackIpRequest.Builder |
description(String description)
The description of the IP address blacklist.
|
ModifyMajorProtectionBlackIpRequest.Builder |
expiredTime(Long expiredTime)
The time after which the IP address blacklist becomes invalid.
|
ModifyMajorProtectionBlackIpRequest.Builder |
instanceId(String instanceId)
The ID of the Web Application Firewall (WAF) instance.
|
ModifyMajorProtectionBlackIpRequest.Builder |
ipList(String ipList)
The IP addresses that you want to add to the IP address blacklist.
|
ModifyMajorProtectionBlackIpRequest.Builder |
regionId(String regionId)
The region where the WAF instance resides.
|
ModifyMajorProtectionBlackIpRequest.Builder |
resourceManagerResourceGroupId(String resourceManagerResourceGroupId)
The ID of the resource group.
|
ModifyMajorProtectionBlackIpRequest.Builder |
ruleId(Long ruleId)
The ID of the IP address blacklist rule for major event protection.
|
ModifyMajorProtectionBlackIpRequest.Builder |
templateId(Long templateId)
The ID of the IP address blacklist rule template for major event protection.
|
public ModifyMajorProtectionBlackIpRequest.Builder description(String description)
public ModifyMajorProtectionBlackIpRequest.Builder expiredTime(Long expiredTime)
> If you set this parameter to **0**, the blacklist is permanently valid.
public ModifyMajorProtectionBlackIpRequest.Builder instanceId(String instanceId)
> You can call the [DescribeInstance](~~433756~~) operation to obtain the ID of the WAF instance.
public ModifyMajorProtectionBlackIpRequest.Builder ipList(String ipList)
public ModifyMajorProtectionBlackIpRequest.Builder regionId(String regionId)
* **cn-hangzhou:** the Chinese mainland. * **ap-southeast-1:** outside the Chinese mainland.
public ModifyMajorProtectionBlackIpRequest.Builder resourceManagerResourceGroupId(String resourceManagerResourceGroupId)
public ModifyMajorProtectionBlackIpRequest.Builder ruleId(Long ruleId)
public ModifyMajorProtectionBlackIpRequest.Builder templateId(Long templateId)
public ModifyMajorProtectionBlackIpRequest build()
Copyright © 2024. All rights reserved.