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:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for