Class MailMessageEntity
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
com.azure.resourcemanager.securityinsights.models.MailMessageEntity
Represents a mail message entity.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.Get the antispamDirection property: The directionality of this mail message.Get the bodyFingerprintBin1 property: The bodyFingerprintBin1.Get the bodyFingerprintBin2 property: The bodyFingerprintBin2.Get the bodyFingerprintBin3 property: The bodyFingerprintBin3.Get the bodyFingerprintBin4 property: The bodyFingerprintBin4.Get the bodyFingerprintBin5 property: The bodyFingerprintBin5.Get the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.Get the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.Get the fileEntityIds property: The File entity ids of this mail message's attachments.Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.Get the internetMessageId property: The internet message id of this mail message.language()
Get the language property: The language of this mail message.Get the networkMessageId property: The network message id of this mail message.p1Sender()
Get the p1Sender property: The p1 sender's email address.Get the p1SenderDisplayName property: The p1 sender's display name.Get the p1SenderDomain property: The p1 sender's domain.p2Sender()
Get the p2Sender property: The p2 sender's email address.Get the p2SenderDisplayName property: The p2 sender's display name.Get the p2SenderDomain property: The p2 sender's domain.Get the receiveDate property: The receive date of this message.Get the recipient property: The recipient of this mail message.senderIp()
Get the senderIp property: The sender's IP address.subject()
Get the subject property: The subject of this mail message.Get the threatDetectionMethods property: The threat detection methods.threats()
Get the threats property: The threats of this mail message.urls()
Get the urls property: The Urls contained in this mail message.void
validate()
Validates the instance.withAntispamDirection
(AntispamMailDirection antispamDirection) Set the antispamDirection property: The directionality of this mail message.withBodyFingerprintBin1
(Integer bodyFingerprintBin1) Set the bodyFingerprintBin1 property: The bodyFingerprintBin1.withBodyFingerprintBin2
(Integer bodyFingerprintBin2) Set the bodyFingerprintBin2 property: The bodyFingerprintBin2.withBodyFingerprintBin3
(Integer bodyFingerprintBin3) Set the bodyFingerprintBin3 property: The bodyFingerprintBin3.withBodyFingerprintBin4
(Integer bodyFingerprintBin4) Set the bodyFingerprintBin4 property: The bodyFingerprintBin4.withBodyFingerprintBin5
(Integer bodyFingerprintBin5) Set the bodyFingerprintBin5 property: The bodyFingerprintBin5.withDeliveryAction
(DeliveryAction deliveryAction) Set the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.withDeliveryLocation
(DeliveryLocation deliveryLocation) Set the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.Methods inherited from class com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
systemData
Methods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
MailMessageEntity
public MailMessageEntity()
-
-
Method Details
-
fileEntityIds
Get the fileEntityIds property: The File entity ids of this mail message's attachments.- Returns:
- the fileEntityIds value.
-
recipient
Get the recipient property: The recipient of this mail message. Note that in case of multiple recipients the mail message is forked and each copy has one recipient.- Returns:
- the recipient value.
-
urls
Get the urls property: The Urls contained in this mail message.- Returns:
- the urls value.
-
threats
Get the threats property: The threats of this mail message.- Returns:
- the threats value.
-
p1Sender
Get the p1Sender property: The p1 sender's email address.- Returns:
- the p1Sender value.
-
p1SenderDisplayName
Get the p1SenderDisplayName property: The p1 sender's display name.- Returns:
- the p1SenderDisplayName value.
-
p1SenderDomain
Get the p1SenderDomain property: The p1 sender's domain.- Returns:
- the p1SenderDomain value.
-
senderIp
Get the senderIp property: The sender's IP address.- Returns:
- the senderIp value.
-
p2Sender
Get the p2Sender property: The p2 sender's email address.- Returns:
- the p2Sender value.
-
p2SenderDisplayName
Get the p2SenderDisplayName property: The p2 sender's display name.- Returns:
- the p2SenderDisplayName value.
-
p2SenderDomain
Get the p2SenderDomain property: The p2 sender's domain.- Returns:
- the p2SenderDomain value.
-
receiveDate
Get the receiveDate property: The receive date of this message.- Returns:
- the receiveDate value.
-
networkMessageId
Get the networkMessageId property: The network message id of this mail message.- Returns:
- the networkMessageId value.
-
internetMessageId
Get the internetMessageId property: The internet message id of this mail message.- Returns:
- the internetMessageId value.
-
subject
Get the subject property: The subject of this mail message.- Returns:
- the subject value.
-
language
Get the language property: The language of this mail message.- Returns:
- the language value.
-
threatDetectionMethods
Get the threatDetectionMethods property: The threat detection methods.- Returns:
- the threatDetectionMethods value.
-
bodyFingerprintBin1
Get the bodyFingerprintBin1 property: The bodyFingerprintBin1.- Returns:
- the bodyFingerprintBin1 value.
-
withBodyFingerprintBin1
Set the bodyFingerprintBin1 property: The bodyFingerprintBin1.- Parameters:
bodyFingerprintBin1
- the bodyFingerprintBin1 value to set.- Returns:
- the MailMessageEntity object itself.
-
bodyFingerprintBin2
Get the bodyFingerprintBin2 property: The bodyFingerprintBin2.- Returns:
- the bodyFingerprintBin2 value.
-
withBodyFingerprintBin2
Set the bodyFingerprintBin2 property: The bodyFingerprintBin2.- Parameters:
bodyFingerprintBin2
- the bodyFingerprintBin2 value to set.- Returns:
- the MailMessageEntity object itself.
-
bodyFingerprintBin3
Get the bodyFingerprintBin3 property: The bodyFingerprintBin3.- Returns:
- the bodyFingerprintBin3 value.
-
withBodyFingerprintBin3
Set the bodyFingerprintBin3 property: The bodyFingerprintBin3.- Parameters:
bodyFingerprintBin3
- the bodyFingerprintBin3 value to set.- Returns:
- the MailMessageEntity object itself.
-
bodyFingerprintBin4
Get the bodyFingerprintBin4 property: The bodyFingerprintBin4.- Returns:
- the bodyFingerprintBin4 value.
-
withBodyFingerprintBin4
Set the bodyFingerprintBin4 property: The bodyFingerprintBin4.- Parameters:
bodyFingerprintBin4
- the bodyFingerprintBin4 value to set.- Returns:
- the MailMessageEntity object itself.
-
bodyFingerprintBin5
Get the bodyFingerprintBin5 property: The bodyFingerprintBin5.- Returns:
- the bodyFingerprintBin5 value.
-
withBodyFingerprintBin5
Set the bodyFingerprintBin5 property: The bodyFingerprintBin5.- Parameters:
bodyFingerprintBin5
- the bodyFingerprintBin5 value to set.- Returns:
- the MailMessageEntity object itself.
-
antispamDirection
Get the antispamDirection property: The directionality of this mail message.- Returns:
- the antispamDirection value.
-
withAntispamDirection
Set the antispamDirection property: The directionality of this mail message.- Parameters:
antispamDirection
- the antispamDirection value to set.- Returns:
- the MailMessageEntity object itself.
-
deliveryAction
Get the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.- Returns:
- the deliveryAction value.
-
withDeliveryAction
Set the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.- Parameters:
deliveryAction
- the deliveryAction value to set.- Returns:
- the MailMessageEntity object itself.
-
deliveryLocation
Get the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.- Returns:
- the deliveryLocation value.
-
withDeliveryLocation
Set the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.- Parameters:
deliveryLocation
- the deliveryLocation value to set.- Returns:
- the MailMessageEntity object itself.
-
additionalData
Get the additionalData property: A bag of custom fields that should be part of the entity and will be presented to the user.- Returns:
- the additionalData value.
-
friendlyName
Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance. This property is optional and might be system generated.- Returns:
- the friendlyName value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classEntityInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-