Class AcsEmailDeliveryReportReceivedEventData
java.lang.Object
com.azure.messaging.eventgrid.systemevents.AcsEmailDeliveryReportReceivedEventData
Schema of the Data property of an EventGridEvent for a Microsoft.Communication.EmailDeliveryReportReceived event.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of AcsEmailDeliveryReportReceivedEventData class. -
Method Summary
Modifier and TypeMethodDescriptionGet the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.Get the deliveryStatusDetails property: Detailed information about the status if any.Get the messageId property: The Id of the email been sent.Get the recipient property: The recipient Email Address.Get the sender property: The Sender Email Address.Get the status property: The status of the email.setDeliveryAttemptTimestamp(OffsetDateTime deliveryAttemptTimestamp) Set the deliveryAttemptTimestamp property: The time at which the email delivery report received timestamp.setDeliveryStatusDetails(AcsEmailDeliveryReportStatusDetails deliveryStatusDetails) Set the deliveryStatusDetails property: Detailed information about the status if any.setMessageId(String messageId) Set the messageId property: The Id of the email been sent.setRecipient(String recipient) Set the recipient property: The recipient Email Address.Set the sender property: The Sender Email Address.Set the status property: The status of the email.
-
Constructor Details
-
AcsEmailDeliveryReportReceivedEventData
public AcsEmailDeliveryReportReceivedEventData()Creates an instance of AcsEmailDeliveryReportReceivedEventData class.
-
-
Method Details
-
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
Get the recipient property: The recipient Email Address.- Returns:
- the recipient value.
-
setRecipient
Set the recipient property: The recipient Email Address.- Parameters:
recipient- the recipient value to set.- Returns:
- the AcsEmailDeliveryReportReceivedEventData object itself.
-
getMessageId
Get the messageId property: The Id of the email been sent.- Returns:
- the messageId value.
-
setMessageId
Set the messageId property: The Id of the email been sent.- Parameters:
messageId- the messageId value to set.- Returns:
- the AcsEmailDeliveryReportReceivedEventData object itself.
-
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
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
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.
-