public static final class UpdateSmsTemplateRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
UpdateSmsTemplateRequest.Builder |
applySceneContent(String applySceneContent)
Application scenarios, instructions as follows:
For registered websites, please enter the MIIT-registered domain with HTTP or HTTPS.
|
UpdateSmsTemplateRequest |
build() |
UpdateSmsTemplateRequest.Builder |
intlType(Integer intlType)
International/Hong Kong, Macao, and Taiwan template type.
|
UpdateSmsTemplateRequest.Builder |
moreData(List<String> moreData)
Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details.
|
UpdateSmsTemplateRequest.Builder |
ownerId(Long ownerId)
OwnerId.
|
UpdateSmsTemplateRequest.Builder |
relatedSignName(String relatedSignName)
SMS signature associated with the template during the application.
|
UpdateSmsTemplateRequest.Builder |
remark(String remark)
Explanation for the SMS template application, which serves as a reference for template review.
|
UpdateSmsTemplateRequest.Builder |
resourceOwnerAccount(String resourceOwnerAccount)
ResourceOwnerAccount.
|
UpdateSmsTemplateRequest.Builder |
resourceOwnerId(Long resourceOwnerId)
ResourceOwnerId.
|
UpdateSmsTemplateRequest.Builder |
templateCode(String templateCode)
Template Code of an unapproved template.
|
UpdateSmsTemplateRequest.Builder |
templateContent(String templateContent)
Template content, up to 500 characters in length.
|
UpdateSmsTemplateRequest.Builder |
templateName(String templateName)
Template name, up to 30 characters in length.
|
UpdateSmsTemplateRequest.Builder |
templateRule(String templateRule)
Template variable rules.
|
UpdateSmsTemplateRequest.Builder |
templateType(Integer templateType)
SMS type.
|
UpdateSmsTemplateRequest.Builder |
trafficDriving(String trafficDriving)
TrafficDriving.
|
public UpdateSmsTemplateRequest.Builder applySceneContent(String applySceneContent)
Application scenarios, instructions as follows:
public UpdateSmsTemplateRequest.Builder intlType(Integer intlType)
International/Hong Kong, Macao, and Taiwan template type. When the TemplateType parameter is 3, this parameter is required for international/Hong Kong, Macao, and Taiwan templates, with values:
0
public UpdateSmsTemplateRequest.Builder moreData(List<String> moreData)
Additional information, such as uploading business proof documents or screenshots, to help reviewers understand your business details. Optional and can be left unset.
public UpdateSmsTemplateRequest.Builder ownerId(Long ownerId)
public UpdateSmsTemplateRequest.Builder relatedSignName(String relatedSignName)
SMS signature associated with the template during the application.
example:阿里云
public UpdateSmsTemplateRequest.Builder remark(String remark)
Explanation for the SMS template application, which serves as a reference for template review.
example:登录场景使用验证码
public UpdateSmsTemplateRequest.Builder resourceOwnerAccount(String resourceOwnerAccount)
public UpdateSmsTemplateRequest.Builder resourceOwnerId(Long resourceOwnerId)
public UpdateSmsTemplateRequest.Builder templateCode(String templateCode)
Template Code of an unapproved template.
This parameter is required.
example:SMS_152550****
public UpdateSmsTemplateRequest.Builder templateContent(String templateContent)
Template content, up to 500 characters in length.
Both the template content and variable content must comply with SMS regulations; otherwise, the template will fail the review. You can also view common template examples on the template application page. Using sample templates can enhance review efficiency and success rates. Variable specifications can be found in TemplateContent Parameter Variable Specifications.
This parameter is required.
example:您正在申请手机注册,验证码为:${code},5分钟内有效!
public UpdateSmsTemplateRequest.Builder templateName(String templateName)
Template name, up to 30 characters in length.
This parameter is required.
example:验证码
public UpdateSmsTemplateRequest.Builder templateRule(String templateRule)
Template variable rules.
For guidance on filling variable rules, refer to the Sample Documentation.
example:{"code":"characterWithNumber"}
public UpdateSmsTemplateRequest.Builder templateType(Integer templateType)
SMS type. Values:
Only enterprise-certified users can apply for promotional SMS and international/Hong Kong, Macao, and Taiwan messages. Details on differences between personal and enterprise user rights are available in Usage Guidelines.
This parameter is required.
example:0
public UpdateSmsTemplateRequest.Builder trafficDriving(String trafficDriving)
public UpdateSmsTemplateRequest build()
Copyright © 2026. All rights reserved.