public static final class GetCardSmsLinkRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
GetCardSmsLinkRequest |
build() |
GetCardSmsLinkRequest.Builder |
cardCodeType(Integer cardCodeType)
The code type of the URLs.
|
GetCardSmsLinkRequest.Builder |
cardLinkType(Integer cardLinkType)
The type of the short URLs.
|
GetCardSmsLinkRequest.Builder |
cardTemplateCode(String cardTemplateCode)
The code of the message template.
|
GetCardSmsLinkRequest.Builder |
cardTemplateParamJson(String cardTemplateParamJson)
The variables of the message template.
|
GetCardSmsLinkRequest.Builder |
customShortCodeJson(String customShortCodeJson)
The custom short code.
|
GetCardSmsLinkRequest.Builder |
domain(String domain)
The original domain name.
|
GetCardSmsLinkRequest.Builder |
outId(String outId)
The extension field.
|
GetCardSmsLinkRequest.Builder |
phoneNumberJson(String phoneNumberJson)
The mobile phone numbers of recipients, custom identifiers, or system identifiers.
|
GetCardSmsLinkRequest.Builder |
signNameJson(String signNameJson)
The signature.
|
public GetCardSmsLinkRequest.Builder cardCodeType(Integer cardCodeType)
The code type of the URLs.
2
public GetCardSmsLinkRequest.Builder cardLinkType(Integer cardLinkType)
The type of the short URLs.
example:If the CardLinkType is not specified, standard short codes are generated. If you need to generate custom short codes, contact Alibaba Cloud SMS technical support.
1
public GetCardSmsLinkRequest.Builder cardTemplateCode(String cardTemplateCode)
The code of the message template. You can view the template code in the Template Code column on the Templates tab of the Go China page in the Alibaba Cloud SMS console.
Make sure that the message template has been approved.
This parameter is required.
example:CARD_SMS_****
public GetCardSmsLinkRequest.Builder cardTemplateParamJson(String cardTemplateParamJson)
The variables of the message template.
example:[{},{}]
public GetCardSmsLinkRequest.Builder customShortCodeJson(String customShortCodeJson)
The custom short code. It can contain 4 to 8 digits or letters.
example:If the CardLinkType parameter is set to 2, the CustomShortCodeJson parameter is required.
abCde
public GetCardSmsLinkRequest.Builder domain(String domain)
The original domain name. You must submit domain names for approval in advance.
If the CardLinkType parameter is set to 2, the Domain parameter is required.
The Domain parameter cannot exceed 100 characters in length. If the parameter is not specified, a default domain name is used.
xxx.com
public GetCardSmsLinkRequest.Builder outId(String outId)
The extension field.
example:BC20220608102511660860762****
public GetCardSmsLinkRequest.Builder phoneNumberJson(String phoneNumberJson)
The mobile phone numbers of recipients, custom identifiers, or system identifiers.
A maximum of 10,000 mobile phone numbers are supported.
You can enter custom identifier. Each identifier can be a maximum of 60 characters in length.
You can apply for a maximum of 10 OPPO templates at a time.
["1390000**** ","1370000**** "]
public GetCardSmsLinkRequest.Builder signNameJson(String signNameJson)
The signature. You can view the template code in the Signature column on the Signaturess tab of the Go China page in the Alibaba Cloud SMS console.
The signatures must be approved and correspond to the mobile numbers in sequence.
This parameter is required.
example:["aliyun", "aliyun2"]
public GetCardSmsLinkRequest build()
Copyright © 2026. All rights reserved.