public static final class BindAxnRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
BindAxnRequest.Builder |
ASRModelId(String ASRModelId)
The ID of the ASR model.
|
BindAxnRequest.Builder |
ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR).
|
BindAxnRequest |
build() |
BindAxnRequest.Builder |
callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the AXN binding.
|
BindAxnRequest.Builder |
callRestrict(String callRestrict)
The status of one-way call restrictions.
|
BindAxnRequest.Builder |
callTimeout(Integer callTimeout)
The maximum ringing duration for each number in sequential ringing.
|
BindAxnRequest.Builder |
expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
|
BindAxnRequest.Builder |
expiration(String expiration)
The expiration time of the AXN binding.
|
BindAxnRequest.Builder |
extend(String extend)
Extend.
|
BindAxnRequest.Builder |
isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers.
|
BindAxnRequest.Builder |
noType(String noType)
The type of the phone number.
|
BindAxnRequest.Builder |
outId(String outId)
The extension field for the external business.
|
BindAxnRequest.Builder |
outOrderId(String outOrderId)
The ID of the external business.
|
BindAxnRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
BindAxnRequest.Builder |
phoneNoA(String phoneNoA)
Phone number A in the AXN binding.
|
BindAxnRequest.Builder |
phoneNoB(String phoneNoB)
Phone number B in the AXN binding.
|
BindAxnRequest.Builder |
phoneNoX(String phoneNoX)
Phone number X in the AXN binding.
|
BindAxnRequest.Builder |
poolKey(String poolKey)
The key of the phone number pool.
|
BindAxnRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
BindAxnRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
BindAxnRequest.Builder |
ringConfig(String ringConfig)
Sets the ringtone code for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
|
public BindAxnRequest.Builder ASRModelId(String ASRModelId)
The ID of the ASR model. On the Automatic Speech Recognition (ASR) Model Management page, you can view the ID of the ASR model.
example:7ee372834d2f4cc7ac0d0ab2d0ae1aac
public BindAxnRequest.Builder ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR). Valid values:
true
public BindAxnRequest.Builder callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the AXN binding. Fixed value: 1, indicating that phone number X is displayed on both the calling phone and the called phone.
example:Due to the regulatory restrictions imposed by carriers, the setting to display real phone numbers during calls does not take effect.
1
public BindAxnRequest.Builder callRestrict(String callRestrict)
The status of one-way call restrictions. Valid values:
CONTROL_AX_DISABLE
public BindAxnRequest.Builder callTimeout(Integer callTimeout)
The maximum ringing duration for each number in sequential ringing. Unit: seconds.
example:10
public BindAxnRequest.Builder expectCity(String expectCity)
Specifies the city to which phone number X to be selected belongs.
hangzhou
public BindAxnRequest.Builder expiration(String expiration)
The expiration time of the AXN binding. Unit: seconds.
The expiration time must be more than 60 seconds later than the time when you call this API operation.
This parameter is required.
example:2021-09-05 12:00:00
public BindAxnRequest.Builder extend(String extend)
public BindAxnRequest.Builder isRecordingEnabled(Boolean isRecordingEnabled)
Specifies whether to record all calls made by the bound phone numbers. Valid values:
true
public BindAxnRequest.Builder noType(String noType)
The type of the phone number.
example:This parameter is applicable to the key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
AXB_170
public BindAxnRequest.Builder outId(String outId)
The extension field for the external business. This parameter is returned in a call record receipt.
example:abcdef
public BindAxnRequest.Builder outOrderId(String outOrderId)
The ID of the external business.
example:34553330****
public BindAxnRequest.Builder ownerId(Long ownerId)
public BindAxnRequest.Builder phoneNoA(String phoneNoA)
Phone number A in the AXN binding. Phone number A can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
This parameter is required.
example:139****0000
public BindAxnRequest.Builder phoneNoB(String phoneNoB)
Phone number B in the AXN binding. If phone number A is used to call phone number X, the call is forwarded to phone number B. Phone number B can be set to a mobile phone number or a landline phone number. The landline phone number must be added with an area code, and no hyphen is required between the area code and the landline phone number.
example:If phone number B is not specified in the AXN binding, the system automatically generates a nonexistent number. If phone number A is used to call phone number X, the nonexistent number is returned. If you need to update phone number B, call the UpdateSubscription operation.
138****0000
public BindAxnRequest.Builder phoneNoX(String phoneNoX)
Phone number X in the AXN binding. Phone number X is the phone number that you purchased in the Phone Number Protection console or by using the BuySecretNo operation before you bind a phone number. Phone number X is used to forward calls.
example:If you do not specify this parameter, a random phone number is selected from the phone number pool based on the value of the ExpectCity parameter and is used as phone number X.
139****0000
public BindAxnRequest.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.
example:FC2256****
public BindAxnRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public BindAxnRequest.Builder resourceOwnerId(Long resourceOwnerId)
public BindAxnRequest.Builder ringConfig(String ringConfig)
Sets the ringtone code for enterprise Color Ring Back Tone (CRBT) in the AXN extension binding.
Enterprise CRBT codes: Enterprise CRBT codes can be queried in the Phone Number Protection console. You can choose Number Pool Management > Enterprise CRBT Management to view enterprise CRBT codes. You can also upload, delete, or perform other operations on enterprise CRBT codes.
example:The bound enterprise CRBTs are preferentially used. If no enterprise CRBT is set or the setting does not take effect, the enterprise CRBTs at the phone number pool level are used.
{"AXNRing_N":"100000001","AXNRing_A":"100000001"}
public BindAxnRequest build()
Copyright © 2025. All rights reserved.