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