SmsSendOptions Class

  • java.lang.Object
    • com.azure.communication.sms.models.SmsSendOptions

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 deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.

SmsSendOptions setDeliveryReportEnabled(boolean deliveryReportEnabled)

Set the deliveryReportEnabled property: Enable this flag to receive a delivery report for this message on the Azure Resource EventGrid.

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.

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:

the tag value.

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

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:

deliveryReportEnabled - the deliveryReportEnabled value to set.

Returns:

the SmsSendOptions object itself.

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:

tag - the tag value to set.

Returns:

the SmsSendOptions object itself.

Applies to