public static final class AddSecretBlacklistRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
AddSecretBlacklistRequest.Builder |
blackNo(String blackNo)
The numbers in the blacklist.
|
AddSecretBlacklistRequest.Builder |
blackType(String blackType)
The blacklist type.
|
AddSecretBlacklistRequest |
build() |
AddSecretBlacklistRequest.Builder |
poolKey(String poolKey)
The key of the phone number pool.
|
AddSecretBlacklistRequest.Builder |
remark(String remark)
The blacklist remarks.
|
AddSecretBlacklistRequest.Builder |
wayControl(String wayControl)
The control on the call direction.
|
public AddSecretBlacklistRequest.Builder blackNo(String blackNo)
The numbers in the blacklist. A point-to-point blacklist has a pair of numbers separated by a colon (:). A number pool blacklist has only one single number.
The asterisks (*) in the sample value are not wildcards.
This parameter is required.
example:1825638****:1825248****
public AddSecretBlacklistRequest.Builder blackType(String blackType)
The blacklist type. Valid values:
This parameter is required.
example:POINT_TO_POINT_BLACK
public AddSecretBlacklistRequest.Builder poolKey(String poolKey)
The key of the phone number pool.
Log on to the Phone Number Protection console and view the key of the phone number pool on the Number Pool Management page.
This parameter is required.
example:FC2235****
public AddSecretBlacklistRequest.Builder remark(String remark)
The blacklist remarks.
example:Customer service feedback
public AddSecretBlacklistRequest.Builder wayControl(String wayControl)
The control on the call direction.
This parameter is available only for a point-to-point blacklist.
Valid values:
PHONEA_REJECT
public AddSecretBlacklistRequest build()
Copyright © 2025. All rights reserved.