public static final class SendCardSmsRequest.Builder extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
SendCardSmsRequest |
build() |
SendCardSmsRequest.Builder |
cardObjects(List<SendCardSmsRequest.CardObjects> cardObjects)
The objects of the message template.
|
SendCardSmsRequest.Builder |
cardTemplateCode(String cardTemplateCode)
The code of the message template.
|
SendCardSmsRequest.Builder |
digitalTemplateCode(String digitalTemplateCode)
The code of the digital message template that applies when the card message is rolled back.
|
SendCardSmsRequest.Builder |
digitalTemplateParam(String digitalTemplateParam)
The variables of the digital message template.
|
SendCardSmsRequest.Builder |
fallbackType(String fallbackType)
The rollback type.
|
SendCardSmsRequest.Builder |
outId(String outId)
The ID that is reserved for the caller of the operation.
|
SendCardSmsRequest.Builder |
signName(String signName)
The signature.
|
SendCardSmsRequest.Builder |
smsTemplateCode(String smsTemplateCode)
The code of the text message template that applies when the card message is rolled back.
|
SendCardSmsRequest.Builder |
smsTemplateParam(String smsTemplateParam)
The variables of the text message template.
|
SendCardSmsRequest.Builder |
smsUpExtendCode(String smsUpExtendCode)
The extension code of the upstream message.
|
SendCardSmsRequest.Builder |
templateCode(String templateCode)
The code of the text message template.
|
SendCardSmsRequest.Builder |
templateParam(String templateParam)
The variables of the message template.
|
public SendCardSmsRequest.Builder cardObjects(List<SendCardSmsRequest.CardObjects> cardObjects)
public SendCardSmsRequest.Builder cardTemplateCode(String cardTemplateCode)
> Make sure that the message template has been approved.
public SendCardSmsRequest.Builder digitalTemplateCode(String digitalTemplateCode)
> Make sure that the message template has been approved.
public SendCardSmsRequest.Builder digitalTemplateParam(String digitalTemplateParam)
> If you need to add line breaks to the JSON template, make sure that the format is valid.
public SendCardSmsRequest.Builder fallbackType(String fallbackType)
* **SMS**: text message * **DIGITALSMS**: digital message * **NONE**: none
public SendCardSmsRequest.Builder outId(String outId)
public SendCardSmsRequest.Builder signName(String signName)
> The signature must be approved.
public SendCardSmsRequest.Builder smsTemplateCode(String smsTemplateCode)
> Make sure that the message template has been approved. If you set the **FallbackType** parameter to **SMS**, this parameter is required.
public SendCardSmsRequest.Builder smsTemplateParam(String smsTemplateParam)
> If you need to add line breaks to the JSON template, make sure that the format is valid.
public SendCardSmsRequest.Builder smsUpExtendCode(String smsUpExtendCode)
> If you do not need upstream messages, ignore this parameter.
public SendCardSmsRequest.Builder templateCode(String templateCode)
Log on to the Alibaba Cloud SMS console. In the left-side navigation pane, click **Go Globe** or **Go China**. You can view the message template in the **Template Code** column on the **Message Templates** tab. > The message templates must be created on the Go Globe page and approved.
public SendCardSmsRequest.Builder templateParam(String templateParam)
> If you need to add line breaks to the JSON template, make sure that the format is valid.
public SendCardSmsRequest build()
Copyright © 2024. All rights reserved.