Class SmsSendOptions

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

public final class SmsSendOptions extends Object
The SmsSendOptions model.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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

      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.
    • 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.
    • 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.