Class SubmissionMailEntity
- java.lang.Object
-
- com.azure.core.management.ProxyResource
-
- com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
-
- com.azure.resourcemanager.securityinsights.models.SubmissionMailEntity
-
public final class SubmissionMailEntity extends EntityInner
Represents a submission mail entity.
-
-
Constructor Summary
Constructors Constructor Description SubmissionMailEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.String
friendlyName()
Get the friendlyName property: The graph item display name which is a short humanly readable description of the graph item instance.UUID
networkMessageId()
Get the networkMessageId property: The network message id of email to which submission belongs.String
recipient()
Get the recipient property: The recipient of the mail.String
reportType()
Get the reportType property: The submission type for the given instance.String
sender()
Get the sender property: The sender of the mail.String
senderIp()
Get the senderIp property: The sender's IP.String
subject()
Get the subject property: The subject of submission mail.OffsetDateTime
submissionDate()
Get the submissionDate property: The submission date.UUID
submissionId()
Get the submissionId property: The submission id.String
submitter()
Get the submitter property: The submitter.OffsetDateTime
timestamp()
Get the timestamp property: The Time stamp when the message is received (Mail).void
validate()
Validates the instance.-
Methods inherited from class com.azure.resourcemanager.securityinsights.fluent.models.EntityInner
systemData
-
-
-
-
Method Detail
-
networkMessageId
public UUID networkMessageId()
Get the networkMessageId property: The network message id of email to which submission belongs.- Returns:
- the networkMessageId value.
-
submissionId
public UUID submissionId()
Get the submissionId property: The submission id.- Returns:
- the submissionId value.
-
submitter
public String submitter()
Get the submitter property: The submitter.- Returns:
- the submitter value.
-
submissionDate
public OffsetDateTime submissionDate()
Get the submissionDate property: The submission date.- Returns:
- the submissionDate value.
-
timestamp
public OffsetDateTime timestamp()
Get the timestamp property: The Time stamp when the message is received (Mail).- Returns:
- the timestamp value.
-
recipient
public String recipient()
Get the recipient property: The recipient of the mail.- Returns:
- the recipient value.
-
sender
public String sender()
Get the sender property: The sender of the mail.- Returns:
- the sender value.
-
senderIp
public String senderIp()
Get the senderIp property: The sender's IP.- Returns:
- the senderIp value.
-
subject
public String subject()
Get the subject property: The subject of submission mail.- Returns:
- the subject value.
-
reportType
public String reportType()
Get the reportType property: The submission type for the given instance. This maps to Junk, Phish, Malware or NotJunk.- Returns:
- the reportType value.
-
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:
- the additionalData value.
-
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:
- the friendlyName value.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classEntityInner
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-