MailMessageEntity Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. resourcemanager. securityinsights. models. Entity - com.
azure. resourcemanager. securityinsights. models. MailMessageEntity
- com.
- com.
- com.
public final class MailMessageEntity
extends Entity
Represents a mail message entity.
Constructor Summary
| Constructor | Description |
|---|---|
| MailMessageEntity() |
Creates an instance of Mail |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| Map<String,Object> |
additionalData()
Get the additional |
|
Antispam |
antispamDirection()
Get the antispam |
| Integer |
bodyFingerprintBin1()
Get the body |
| Integer |
bodyFingerprintBin2()
Get the body |
| Integer |
bodyFingerprintBin3()
Get the body |
| Integer |
bodyFingerprintBin4()
Get the body |
| Integer |
bodyFingerprintBin5()
Get the body |
|
Delivery |
deliveryAction()
Get the delivery |
|
Delivery |
deliveryLocation()
Get the delivery |
| List<String> |
fileEntityIds()
Get the file |
| String |
friendlyName()
Get the friendly |
|
static
Mail |
fromJson(JsonReader jsonReader)
Reads an instance of Mail |
| String |
id()
Get the id property: Fully qualified resource Id for the resource. |
| String |
internetMessageId()
Get the internet |
|
Entity |
kind()
Get the kind property: The kind of the entity. |
| String |
language()
Get the language property: The language of this mail message. |
| String |
name()
Get the name property: The name of the resource. |
| UUID |
networkMessageId()
Get the network |
| String |
p1Sender()
Get the p1Sender property: The p1 sender's email address. |
| String |
p1SenderDisplayName()
Get the p1Sender |
| String |
p1SenderDomain()
Get the p1Sender |
| String |
p2Sender()
Get the p2Sender property: The p2 sender's email address. |
| String |
p2SenderDisplayName()
Get the p2Sender |
| String |
p2SenderDomain()
Get the p2Sender |
|
Offset |
receiveDate()
Get the receive |
| String |
recipient()
Get the recipient property: The recipient of this mail message. |
| String |
senderIp()
Get the sender |
| String |
subject()
Get the subject property: The subject of this mail message. |
|
System |
systemData()
Get the system |
| List<String> |
threatDetectionMethods()
Get the threat |
| List<String> |
threats()
Get the threats property: The threats of this mail message. |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
type()
Get the type property: The type of the resource. |
| List<String> |
urls()
Get the urls property: The Urls contained in this mail message. |
| void |
validate()
Validates the instance. |
|
Mail |
withAntispamDirection(AntispamMailDirection antispamDirection)
Set the antispam |
|
Mail |
withBodyFingerprintBin1(Integer bodyFingerprintBin1)
Set the body |
|
Mail |
withBodyFingerprintBin2(Integer bodyFingerprintBin2)
Set the body |
|
Mail |
withBodyFingerprintBin3(Integer bodyFingerprintBin3)
Set the body |
|
Mail |
withBodyFingerprintBin4(Integer bodyFingerprintBin4)
Set the body |
|
Mail |
withBodyFingerprintBin5(Integer bodyFingerprintBin5)
Set the body |
|
Mail |
withDeliveryAction(DeliveryAction deliveryAction)
Set the delivery |
|
Mail |
withDeliveryLocation(DeliveryLocation deliveryLocation)
Set the delivery |
Methods inherited from Entity
Methods inherited from java.lang.Object
Constructor Details
MailMessageEntity
public MailMessageEntity()
Creates an instance of MailMessageEntity class.
Method Details
additionalData
public Map<String,Object> 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:
antispamDirection
public AntispamMailDirection antispamDirection()
Get the antispamDirection property: The directionality of this mail message.
Returns:
bodyFingerprintBin1
public Integer bodyFingerprintBin1()
Get the bodyFingerprintBin1 property: The bodyFingerprintBin1.
Returns:
bodyFingerprintBin2
public Integer bodyFingerprintBin2()
Get the bodyFingerprintBin2 property: The bodyFingerprintBin2.
Returns:
bodyFingerprintBin3
public Integer bodyFingerprintBin3()
Get the bodyFingerprintBin3 property: The bodyFingerprintBin3.
Returns:
bodyFingerprintBin4
public Integer bodyFingerprintBin4()
Get the bodyFingerprintBin4 property: The bodyFingerprintBin4.
Returns:
bodyFingerprintBin5
public Integer bodyFingerprintBin5()
Get the bodyFingerprintBin5 property: The bodyFingerprintBin5.
Returns:
deliveryAction
public DeliveryAction deliveryAction()
Get the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.
Returns:
deliveryLocation
public DeliveryLocation deliveryLocation()
Get the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.
Returns:
fileEntityIds
public List<String> fileEntityIds()
Get the fileEntityIds property: The File entity ids of this mail message's attachments.
Returns:
friendlyName
public String 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:
fromJson
public static MailMessageEntity fromJson(JsonReader jsonReader)
Reads an instance of MailMessageEntity from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Fully qualified resource Id for the resource.
Overrides:
MailMessageEntity.id()Returns:
internetMessageId
public String internetMessageId()
Get the internetMessageId property: The internet message id of this mail message.
Returns:
kind
public EntityKindEnum kind()
Get the kind property: The kind of the entity.
Overrides:
MailMessageEntity.kind()Returns:
language
public String language()
Get the language property: The language of this mail message.
Returns:
name
public String name()
Get the name property: The name of the resource.
Overrides:
MailMessageEntity.name()Returns:
networkMessageId
public UUID networkMessageId()
Get the networkMessageId property: The network message id of this mail message.
Returns:
p1Sender
public String p1Sender()
Get the p1Sender property: The p1 sender's email address.
Returns:
p1SenderDisplayName
public String p1SenderDisplayName()
Get the p1SenderDisplayName property: The p1 sender's display name.
Returns:
p1SenderDomain
public String p1SenderDomain()
Get the p1SenderDomain property: The p1 sender's domain.
Returns:
p2Sender
public String p2Sender()
Get the p2Sender property: The p2 sender's email address.
Returns:
p2SenderDisplayName
public String p2SenderDisplayName()
Get the p2SenderDisplayName property: The p2 sender's display name.
Returns:
p2SenderDomain
public String p2SenderDomain()
Get the p2SenderDomain property: The p2 sender's domain.
Returns:
receiveDate
public OffsetDateTime receiveDate()
Get the receiveDate property: The receive date of this message.
Returns:
recipient
public String 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:
senderIp
public String senderIp()
Get the senderIp property: The sender's IP address.
Returns:
subject
public String subject()
Get the subject property: The subject of this mail message.
Returns:
systemData
public SystemData systemData()
Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
Overrides:
MailMessageEntity.systemData()Returns:
threatDetectionMethods
public List<String> threatDetectionMethods()
Get the threatDetectionMethods property: The threat detection methods.
Returns:
threats
public List<String> threats()
Get the threats property: The threats of this mail message.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MailMessageEntity.toJson(JsonWriter jsonWriter)Parameters:
Throws:
type
public String type()
Get the type property: The type of the resource.
Overrides:
MailMessageEntity.type()Returns:
urls
public List<String> urls()
Get the urls property: The Urls contained in this mail message.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
MailMessageEntity.validate()withAntispamDirection
public MailMessageEntity withAntispamDirection(AntispamMailDirection antispamDirection)
Set the antispamDirection property: The directionality of this mail message.
Parameters:
Returns:
withBodyFingerprintBin1
public MailMessageEntity withBodyFingerprintBin1(Integer bodyFingerprintBin1)
Set the bodyFingerprintBin1 property: The bodyFingerprintBin1.
Parameters:
Returns:
withBodyFingerprintBin2
public MailMessageEntity withBodyFingerprintBin2(Integer bodyFingerprintBin2)
Set the bodyFingerprintBin2 property: The bodyFingerprintBin2.
Parameters:
Returns:
withBodyFingerprintBin3
public MailMessageEntity withBodyFingerprintBin3(Integer bodyFingerprintBin3)
Set the bodyFingerprintBin3 property: The bodyFingerprintBin3.
Parameters:
Returns:
withBodyFingerprintBin4
public MailMessageEntity withBodyFingerprintBin4(Integer bodyFingerprintBin4)
Set the bodyFingerprintBin4 property: The bodyFingerprintBin4.
Parameters:
Returns:
withBodyFingerprintBin5
public MailMessageEntity withBodyFingerprintBin5(Integer bodyFingerprintBin5)
Set the bodyFingerprintBin5 property: The bodyFingerprintBin5.
Parameters:
Returns:
withDeliveryAction
public MailMessageEntity withDeliveryAction(DeliveryAction deliveryAction)
Set the deliveryAction property: The delivery action of this mail message like Delivered, Blocked, Replaced etc.
Parameters:
Returns:
withDeliveryLocation
public MailMessageEntity withDeliveryLocation(DeliveryLocation deliveryLocation)
Set the deliveryLocation property: The delivery location of this mail message like Inbox, JunkFolder etc.
Parameters:
Returns: