Class AcsEmailDeliveryReportReceivedEventData

java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsEmailDeliveryReportReceivedEventData

public final class AcsEmailDeliveryReportReceivedEventData extends Object
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.
  • Constructor Details

    • AcsEmailDeliveryReportReceivedEventData

      public AcsEmailDeliveryReportReceivedEventData()
      Creates an instance of AcsEmailDeliveryReportReceivedEventData class.
  • Method Details

    • getSender

      public String getSender()
      Get the sender property: The Sender Email Address.
      Returns:
      the sender value.
    • setSender

      Set the sender property: The Sender Email Address.
      Parameters:
      sender - the sender value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.
    • getRecipient

      public String getRecipient()
      Get the recipient property: The recipient Email Address.
      Returns:
      the recipient value.
    • setRecipient

      public AcsEmailDeliveryReportReceivedEventData setRecipient(String recipient)
      Set the recipient property: The recipient Email Address.
      Parameters:
      recipient - the recipient value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.
    • getMessageId

      public String getMessageId()
      Get the messageId property: The Id of the email been sent.
      Returns:
      the messageId value.
    • setMessageId

      public AcsEmailDeliveryReportReceivedEventData setMessageId(String messageId)
      Set the messageId property: The Id of the email been sent.
      Parameters:
      messageId - the messageId value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.
    • getStatus

      public AcsEmailDeliveryReportStatus getStatus()
      Get the status property: The status of the email. Any value other than Delivered is considered failed.
      Returns:
      the status value.
    • setStatus

      Set the status property: The status of the email. Any value other than Delivered is considered failed.
      Parameters:
      status - the status value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.
    • getDeliveryStatusDetails

      public AcsEmailDeliveryReportStatusDetails getDeliveryStatusDetails()
      Get the deliveryStatusDetails property: Detailed information about the status if any.
      Returns:
      the deliveryStatusDetails value.
    • setDeliveryStatusDetails

      public AcsEmailDeliveryReportReceivedEventData setDeliveryStatusDetails(AcsEmailDeliveryReportStatusDetails deliveryStatusDetails)
      Set the deliveryStatusDetails property: Detailed information about the status if any.
      Parameters:
      deliveryStatusDetails - the deliveryStatusDetails value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.
    • getDeliveryAttemptTimestamp

      public OffsetDateTime getDeliveryAttemptTimestamp()
      Get the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.
      Returns:
      the deliveryAttemptTimestamp value.
    • setDeliveryAttemptTimestamp

      public AcsEmailDeliveryReportReceivedEventData setDeliveryAttemptTimestamp(OffsetDateTime deliveryAttemptTimestamp)
      Set the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.
      Parameters:
      deliveryAttemptTimestamp - the deliveryAttemptTimestamp value to set.
      Returns:
      the AcsEmailDeliveryReportReceivedEventData object itself.