Class SmsSendOptions
java.lang.Object
com.azure.communication.sms.models.SmsSendOptions
The SmsSendOptions model.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetTag()
Get the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.boolean
Get the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.setDeliveryReportEnabled
(boolean deliveryReportEnabled) Set the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.Set the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.
-
Constructor Details
-
SmsSendOptions
public SmsSendOptions()
-
-
Method Details
-
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:
- the deliveryReportEnabled value.
-
setDeliveryReportEnabled
Set the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.- Parameters:
deliveryReportEnabled
- the deliveryReportEnabled value to set.- Returns:
- the SmsSendOptions object itself.
-
getTag
Get the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.- Returns:
- the tag value.
-
setTag
Set the tag property: Use this field to provide metadata that will then be sent back in the corresponding Delivery Report.- Parameters:
tag
- the tag value to set.- Returns:
- the SmsSendOptions object itself.
-