MicrosoftGraphMessageRulePredicates Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphMessageRulePredicates
- com.
Implements
public final class MicrosoftGraphMessageRulePredicates
implements JsonSerializable<MicrosoftGraphMessageRulePredicates>
messageRulePredicates.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphMessageRulePredicates() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<String> |
bodyContains()
Get the body |
List<String> |
bodyOrSubjectContains()
Get the body |
List<String> |
categories()
Get the categories property: Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. |
List<Microsoft |
fromAddresses()
Get the from |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
hasAttachments()
Get the has |
List<String> |
headerContains()
Get the header |
Microsoft |
importance()
Get the importance property: importance. |
Boolean |
isApprovalRequest()
Get the is |
Boolean |
isAutomaticForward()
Get the is |
Boolean |
isAutomaticReply()
Get the is |
Boolean |
isEncrypted()
Get the is |
Boolean |
isMeetingRequest()
Get the is |
Boolean |
isMeetingResponse()
Get the is |
Boolean |
isNonDeliveryReport()
Get the is |
Boolean |
isPermissionControlled()
Get the is |
Boolean |
isReadReceipt()
Get the is |
Boolean |
isSigned()
Get the is |
Boolean |
isVoicemail()
Get the is |
Microsoft |
messageActionFlag()
Get the message |
Boolean |
notSentToMe()
Get the not |
List<String> |
recipientContains()
Get the recipient |
List<String> |
senderContains()
Get the sender |
Microsoft |
sensitivity()
Get the sensitivity property: sensitivity. |
Boolean |
sentCcMe()
Get the sent |
Boolean |
sentOnlyToMe()
Get the sent |
List<Microsoft |
sentToAddresses()
Get the sent |
Boolean |
sentToMe()
Get the sent |
Boolean |
sentToOrCcMe()
Get the sent |
List<String> |
subjectContains()
Get the subject |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withBodyContains(List<String> bodyContains)
Set the body |
Microsoft |
withBodyOrSubjectContains(List<String> bodyOrSubjectContains)
Set the body |
Microsoft |
withCategories(List<String> categories)
Set the categories property: Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply. |
Microsoft |
withFromAddresses(List<MicrosoftGraphRecipient> fromAddresses)
Set the from |
Microsoft |
withHasAttachments(Boolean hasAttachments)
Set the has |
Microsoft |
withHeaderContains(List<String> headerContains)
Set the header |
Microsoft |
withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance. |
Microsoft |
withIsApprovalRequest(Boolean isApprovalRequest)
Set the is |
Microsoft |
withIsAutomaticForward(Boolean isAutomaticForward)
Set the is |
Microsoft |
withIsAutomaticReply(Boolean isAutomaticReply)
Set the is |
Microsoft |
withIsEncrypted(Boolean isEncrypted)
Set the is |
Microsoft |
withIsMeetingRequest(Boolean isMeetingRequest)
Set the is |
Microsoft |
withIsMeetingResponse(Boolean isMeetingResponse)
Set the is |
Microsoft |
withIsNonDeliveryReport(Boolean isNonDeliveryReport)
Set the is |
Microsoft |
withIsPermissionControlled(Boolean isPermissionControlled)
Set the is |
Microsoft |
withIsReadReceipt(Boolean isReadReceipt)
Set the is |
Microsoft |
withIsSigned(Boolean isSigned)
Set the is |
Microsoft |
withIsVoicemail(Boolean isVoicemail)
Set the is |
Microsoft |
withMessageActionFlag(MicrosoftGraphMessageActionFlag messageActionFlag)
Set the message |
Microsoft |
withNotSentToMe(Boolean notSentToMe)
Set the not |
Microsoft |
withRecipientContains(List<String> recipientContains)
Set the recipient |
Microsoft |
withSenderContains(List<String> senderContains)
Set the sender |
Microsoft |
withSensitivity(MicrosoftGraphSensitivity sensitivity)
Set the sensitivity property: sensitivity. |
Microsoft |
withSentCcMe(Boolean sentCcMe)
Set the sent |
Microsoft |
withSentOnlyToMe(Boolean sentOnlyToMe)
Set the sent |
Microsoft |
withSentToAddresses(List<MicrosoftGraphRecipient> sentToAddresses)
Set the sent |
Microsoft |
withSentToMe(Boolean sentToMe)
Set the sent |
Microsoft |
withSentToOrCcMe(Boolean sentToOrCcMe)
Set the sent |
Microsoft |
withSubjectContains(List<String> subjectContains)
Set the subject |
Microsoft |
withWithinSizeRange(MicrosoftGraphSizeRange withinSizeRange)
Set the within |
Microsoft |
withinSizeRange()
Get the within |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphMessageRulePredicates
public MicrosoftGraphMessageRulePredicates()
Creates an instance of MicrosoftGraphMessageRulePredicates class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: messageRulePredicates.
Returns:
bodyContains
public List
Get the bodyContains property: Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
Returns:
bodyOrSubjectContains
public List
Get the bodyOrSubjectContains property: Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
Returns:
categories
public List
Get the categories property: Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
Returns:
fromAddresses
public List
Get the fromAddresses property: Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
Returns:
fromJson
public static MicrosoftGraphMessageRulePredicates fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphMessageRulePredicates from the JsonReader.
Parameters:
Returns:
Throws:
hasAttachments
public Boolean hasAttachments()
Get the hasAttachments property: Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
Returns:
headerContains
public List
Get the headerContains property: Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
Returns:
importance
public MicrosoftGraphImportance importance()
Get the importance property: importance.
Returns:
isApprovalRequest
public Boolean isApprovalRequest()
Get the isApprovalRequest property: Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
Returns:
isAutomaticForward
public Boolean isAutomaticForward()
Get the isAutomaticForward property: Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
Returns:
isAutomaticReply
public Boolean isAutomaticReply()
Get the isAutomaticReply property: Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
Returns:
isEncrypted
public Boolean isEncrypted()
Get the isEncrypted property: Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
Returns:
isMeetingRequest
public Boolean isMeetingRequest()
Get the isMeetingRequest property: Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
Returns:
isMeetingResponse
public Boolean isMeetingResponse()
Get the isMeetingResponse property: Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
Returns:
isNonDeliveryReport
public Boolean isNonDeliveryReport()
Get the isNonDeliveryReport property: Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
Returns:
isPermissionControlled
public Boolean isPermissionControlled()
Get the isPermissionControlled property: Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
Returns:
isReadReceipt
public Boolean isReadReceipt()
Get the isReadReceipt property: Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
Returns:
isSigned
public Boolean isSigned()
Get the isSigned property: Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
Returns:
isVoicemail
public Boolean isVoicemail()
Get the isVoicemail property: Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
Returns:
messageActionFlag
public MicrosoftGraphMessageActionFlag messageActionFlag()
Get the messageActionFlag property: messageActionFlag.
Returns:
notSentToMe
public Boolean notSentToMe()
Get the notSentToMe property: Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply.
Returns:
recipientContains
public List
Get the recipientContains property: Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply.
Returns:
senderContains
public List
Get the senderContains property: Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
Returns:
sensitivity
public MicrosoftGraphSensitivity sensitivity()
Get the sensitivity property: sensitivity.
Returns:
sentCcMe
public Boolean sentCcMe()
Get the sentCcMe property: Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply.
Returns:
sentOnlyToMe
public Boolean sentOnlyToMe()
Get the sentOnlyToMe property: Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply.
Returns:
sentToAddresses
public List
Get the sentToAddresses property: Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
Returns:
sentToMe
public Boolean sentToMe()
Get the sentToMe property: Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply.
Returns:
sentToOrCcMe
public Boolean sentToOrCcMe()
Get the sentToOrCcMe property: Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply.
Returns:
subjectContains
public List
Get the subjectContains property: Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphMessageRulePredicates withAdditionalProperties(Map
Set the additionalProperties property: messageRulePredicates.
Parameters:
Returns:
withBodyContains
public MicrosoftGraphMessageRulePredicates withBodyContains(List
Set the bodyContains property: Represents the strings that should appear in the body of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withBodyOrSubjectContains
public MicrosoftGraphMessageRulePredicates withBodyOrSubjectContains(List
Set the bodyOrSubjectContains property: Represents the strings that should appear in the body or subject of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withCategories
public MicrosoftGraphMessageRulePredicates withCategories(List
Set the categories property: Represents the categories that an incoming message should be labeled with in order for the condition or exception to apply.
Parameters:
Returns:
withFromAddresses
public MicrosoftGraphMessageRulePredicates withFromAddresses(List
Set the fromAddresses property: Represents the specific sender email addresses of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withHasAttachments
public MicrosoftGraphMessageRulePredicates withHasAttachments(Boolean hasAttachments)
Set the hasAttachments property: Indicates whether an incoming message must have attachments in order for the condition or exception to apply.
Parameters:
Returns:
withHeaderContains
public MicrosoftGraphMessageRulePredicates withHeaderContains(List
Set the headerContains property: Represents the strings that appear in the headers of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withImportance
public MicrosoftGraphMessageRulePredicates withImportance(MicrosoftGraphImportance importance)
Set the importance property: importance.
Parameters:
Returns:
withIsApprovalRequest
public MicrosoftGraphMessageRulePredicates withIsApprovalRequest(Boolean isApprovalRequest)
Set the isApprovalRequest property: Indicates whether an incoming message must be an approval request in order for the condition or exception to apply.
Parameters:
Returns:
withIsAutomaticForward
public MicrosoftGraphMessageRulePredicates withIsAutomaticForward(Boolean isAutomaticForward)
Set the isAutomaticForward property: Indicates whether an incoming message must be automatically forwarded in order for the condition or exception to apply.
Parameters:
Returns:
withIsAutomaticReply
public MicrosoftGraphMessageRulePredicates withIsAutomaticReply(Boolean isAutomaticReply)
Set the isAutomaticReply property: Indicates whether an incoming message must be an auto reply in order for the condition or exception to apply.
Parameters:
Returns:
withIsEncrypted
public MicrosoftGraphMessageRulePredicates withIsEncrypted(Boolean isEncrypted)
Set the isEncrypted property: Indicates whether an incoming message must be encrypted in order for the condition or exception to apply.
Parameters:
Returns:
withIsMeetingRequest
public MicrosoftGraphMessageRulePredicates withIsMeetingRequest(Boolean isMeetingRequest)
Set the isMeetingRequest property: Indicates whether an incoming message must be a meeting request in order for the condition or exception to apply.
Parameters:
Returns:
withIsMeetingResponse
public MicrosoftGraphMessageRulePredicates withIsMeetingResponse(Boolean isMeetingResponse)
Set the isMeetingResponse property: Indicates whether an incoming message must be a meeting response in order for the condition or exception to apply.
Parameters:
Returns:
withIsNonDeliveryReport
public MicrosoftGraphMessageRulePredicates withIsNonDeliveryReport(Boolean isNonDeliveryReport)
Set the isNonDeliveryReport property: Indicates whether an incoming message must be a non-delivery report in order for the condition or exception to apply.
Parameters:
Returns:
withIsPermissionControlled
public MicrosoftGraphMessageRulePredicates withIsPermissionControlled(Boolean isPermissionControlled)
Set the isPermissionControlled property: Indicates whether an incoming message must be permission controlled (RMS-protected) in order for the condition or exception to apply.
Parameters:
Returns:
withIsReadReceipt
public MicrosoftGraphMessageRulePredicates withIsReadReceipt(Boolean isReadReceipt)
Set the isReadReceipt property: Indicates whether an incoming message must be a read receipt in order for the condition or exception to apply.
Parameters:
Returns:
withIsSigned
public MicrosoftGraphMessageRulePredicates withIsSigned(Boolean isSigned)
Set the isSigned property: Indicates whether an incoming message must be S/MIME-signed in order for the condition or exception to apply.
Parameters:
Returns:
withIsVoicemail
public MicrosoftGraphMessageRulePredicates withIsVoicemail(Boolean isVoicemail)
Set the isVoicemail property: Indicates whether an incoming message must be a voice mail in order for the condition or exception to apply.
Parameters:
Returns:
withMessageActionFlag
public MicrosoftGraphMessageRulePredicates withMessageActionFlag(MicrosoftGraphMessageActionFlag messageActionFlag)
Set the messageActionFlag property: messageActionFlag.
Parameters:
Returns:
withNotSentToMe
public MicrosoftGraphMessageRulePredicates withNotSentToMe(Boolean notSentToMe)
Set the notSentToMe property: Indicates whether the owner of the mailbox must not be a recipient of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withRecipientContains
public MicrosoftGraphMessageRulePredicates withRecipientContains(List
Set the recipientContains property: Represents the strings that appear in either the toRecipients or ccRecipients properties of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSenderContains
public MicrosoftGraphMessageRulePredicates withSenderContains(List
Set the senderContains property: Represents the strings that appear in the from property of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSensitivity
public MicrosoftGraphMessageRulePredicates withSensitivity(MicrosoftGraphSensitivity sensitivity)
Set the sensitivity property: sensitivity.
Parameters:
Returns:
withSentCcMe
public MicrosoftGraphMessageRulePredicates withSentCcMe(Boolean sentCcMe)
Set the sentCcMe property: Indicates whether the owner of the mailbox must be in the ccRecipients property of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSentOnlyToMe
public MicrosoftGraphMessageRulePredicates withSentOnlyToMe(Boolean sentOnlyToMe)
Set the sentOnlyToMe property: Indicates whether the owner of the mailbox must be the only recipient in an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSentToAddresses
public MicrosoftGraphMessageRulePredicates withSentToAddresses(List
Set the sentToAddresses property: Represents the email addresses that an incoming message must have been sent to in order for the condition or exception to apply.
Parameters:
Returns:
withSentToMe
public MicrosoftGraphMessageRulePredicates withSentToMe(Boolean sentToMe)
Set the sentToMe property: Indicates whether the owner of the mailbox must be in the toRecipients property of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSentToOrCcMe
public MicrosoftGraphMessageRulePredicates withSentToOrCcMe(Boolean sentToOrCcMe)
Set the sentToOrCcMe property: Indicates whether the owner of the mailbox must be in either a toRecipients or ccRecipients property of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withSubjectContains
public MicrosoftGraphMessageRulePredicates withSubjectContains(List
Set the subjectContains property: Represents the strings that appear in the subject of an incoming message in order for the condition or exception to apply.
Parameters:
Returns:
withWithinSizeRange
public MicrosoftGraphMessageRulePredicates withWithinSizeRange(MicrosoftGraphSizeRange withinSizeRange)
Set the withinSizeRange property: sizeRange.
Parameters:
Returns:
withinSizeRange
public MicrosoftGraphSizeRange withinSizeRange()
Get the withinSizeRange property: sizeRange.
Returns:
Applies to
Azure SDK for Java