public static final class UpdateSubscriptionRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSubscriptionRequest.Builder |
ASRModelId(String ASRModelId)
The ID of the ASR model.
|
UpdateSubscriptionRequest.Builder |
ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR).
|
UpdateSubscriptionRequest |
build() |
UpdateSubscriptionRequest.Builder |
callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
callRestrict(String callRestrict)
One-way call restrictions.
|
UpdateSubscriptionRequest.Builder |
expiration(String expiration)
Re-sets the expiration time of the phone number binding.
|
UpdateSubscriptionRequest.Builder |
groupId(String groupId)
The ID of number group G in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
isRecordingEnabled(Boolean isRecordingEnabled)
Re-sets the recording status in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
operateType(String operateType)
The operation to modify the phone number binding.
|
UpdateSubscriptionRequest.Builder |
outId(String outId)
Re-sets the value of the OutId parameter in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
UpdateSubscriptionRequest.Builder |
phoneNoA(String phoneNoA)
Phone number A in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
phoneNoB(String phoneNoB)
Phone number B in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
phoneNoX(String phoneNoX)
Phone number X in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
poolKey(String poolKey)
The key of the phone number pool.
|
UpdateSubscriptionRequest.Builder |
productType(String productType)
The product type.
|
UpdateSubscriptionRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
UpdateSubscriptionRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
UpdateSubscriptionRequest.Builder |
ringConfig(String ringConfig)
Updates the ringtone code for enterprise Color Ring Back Tone (CRBT) in the phone number binding.
|
UpdateSubscriptionRequest.Builder |
subsId(String subsId)
The binding ID.
|
public UpdateSubscriptionRequest.Builder ASRModelId(String ASRModelId)
The ID of the ASR model.
example:980abddb908f48e8b987cb2cd303****
public UpdateSubscriptionRequest.Builder ASRStatus(Boolean ASRStatus)
Specifies whether to enable automatic speech recognition (ASR). Valid values:
false
public UpdateSubscriptionRequest.Builder callDisplayType(Integer callDisplayType)
Re-sets the phone number display logic in the phone number 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 UpdateSubscriptionRequest.Builder callRestrict(String callRestrict)
One-way call restrictions. Valid values:
example:This parameter is required when OperateType is set to updateCallRestrict.
CONTROL_BX_DISABLE
public UpdateSubscriptionRequest.Builder expiration(String expiration)
Re-sets the expiration time of the phone number binding.
This parameter is required when OperateType is set to updateExpire.
The expiration time must be more than 1 minute later than the time when you call this API operation.
2019-09-05 12:00:00
public UpdateSubscriptionRequest.Builder groupId(String groupId)
The ID of number group G in the phone number binding.
example:This parameter is required when OperateType is set to updateAxgGroup.
1234
public UpdateSubscriptionRequest.Builder isRecordingEnabled(Boolean isRecordingEnabled)
Re-sets the recording status in the phone number binding.
example:This parameter does not have a default value. If you do not specify this parameter, the value of the corresponding field is not updated.
true
public UpdateSubscriptionRequest.Builder operateType(String operateType)
The operation to modify the phone number binding. Valid values:
This parameter is required.
example:updateNoA
public UpdateSubscriptionRequest.Builder outId(String outId)
Re-sets the value of the OutId parameter in the phone number binding.
example:abcdef
public UpdateSubscriptionRequest.Builder ownerId(Long ownerId)
public UpdateSubscriptionRequest.Builder phoneNoA(String phoneNoA)
Phone number A in the phone number binding.
example:This parameter is required when OperateType is set to updateNoA.
1390000****
public UpdateSubscriptionRequest.Builder phoneNoB(String phoneNoB)
Phone number B in the phone number binding.
example:This parameter is required when OperateType is set to updateNoB.
1390000****
public UpdateSubscriptionRequest.Builder phoneNoX(String phoneNoX)
Phone number X in the phone number binding.
This parameter is required.
example:1390000****
public UpdateSubscriptionRequest.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:This parameter is required when ProductType is left empty.
FC122356****
public UpdateSubscriptionRequest.Builder productType(String productType)
The product type. Valid values:
This parameter is applicable to the original key accounts of Alibaba Cloud. This parameter can be ignored for Alibaba Cloud users.
This parameter is required when PoolKey is left empty.
AXB_170
public UpdateSubscriptionRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateSubscriptionRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateSubscriptionRequest.Builder ringConfig(String ringConfig)
Updates the ringtone code for enterprise Color Ring Back Tone (CRBT) in the phone number binding.
AXB product:
AXN product:
AXG product:
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 and manage 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.
{"AXBRing_B":"100000001","AXBRing_A":"100000001"}
public UpdateSubscriptionRequest.Builder subsId(String subsId)
The binding ID.
Log on to the Phone Number Protection console, choose Number and Number Pool > Number Management. On the Number Management page, select the desired record and click Details to view the binding ID. Alternatively, you can view the value of the SubsId parameter returned by an API operation for a phone number binding such as BindAxb. The value of this parameter indicates a binding ID.
This parameter is required.
example:100000076879****
public UpdateSubscriptionRequest build()
Copyright © 2025. All rights reserved.