SmsSendOptions Class
- java.
lang. Object - com.
azure. communication. sms. models. SmsSendOptions
- com.
public final class SmsSendOptions
The SmsSendOptions model.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| SmsSendOptions() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getTag()
Get the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report. |
| boolean |
isDeliveryReportEnabled()
Get the delivery |
|
Sms |
setDeliveryReportEnabled(boolean deliveryReportEnabled)
Set the delivery |
|
Sms |
setTag(String tag)
Set the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report. |
Methods inherited from java.lang.Object
Constructor Details
SmsSendOptions
public SmsSendOptions()
Method Details
getTag
public String getTag()
Get the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.
Returns:
isDeliveryReportEnabled
public boolean isDeliveryReportEnabled()
Get the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.
Returns:
setDeliveryReportEnabled
public SmsSendOptions setDeliveryReportEnabled(boolean deliveryReportEnabled)
Set the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.
Parameters:
Returns:
setTag
public SmsSendOptions setTag(String tag)
Set the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.
Parameters:
Returns: