MicrosoftGraphMessageRuleActions Class
- java.
lang. Object - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphMessageRuleActions
- com.
Implements
public final class MicrosoftGraphMessageRuleActions
implements JsonSerializable<MicrosoftGraphMessageRuleActions>
messageRuleActions.
Constructor Summary
Constructor | Description |
---|---|
MicrosoftGraphMessageRuleActions() |
Creates an instance of Microsoft |
Method Summary
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
additionalProperties()
Get the additional |
List<String> |
assignCategories()
Get the assign |
String |
copyToFolder()
Get the copy |
Boolean |
delete()
Get the delete property: Indicates whether a message should be moved to the Deleted Items folder. |
List<Microsoft |
forwardAsAttachmentTo()
Get the forward |
List<Microsoft |
forwardTo()
Get the forward |
static
Microsoft |
fromJson(JsonReader jsonReader)
Reads an instance of Microsoft |
Boolean |
markAsRead()
Get the mark |
Microsoft |
markImportance()
Get the mark |
String |
moveToFolder()
Get the move |
Boolean |
permanentDelete()
Get the permanent |
List<Microsoft |
redirectTo()
Get the redirect |
Boolean |
stopProcessingRules()
Get the stop |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Microsoft |
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additional |
Microsoft |
withAssignCategories(List<String> assignCategories)
Set the assign |
Microsoft |
withCopyToFolder(String copyToFolder)
Set the copy |
Microsoft |
withDelete(Boolean delete)
Set the delete property: Indicates whether a message should be moved to the Deleted Items folder. |
Microsoft |
withForwardAsAttachmentTo(List<MicrosoftGraphRecipient> forwardAsAttachmentTo)
Set the forward |
Microsoft |
withForwardTo(List<MicrosoftGraphRecipient> forwardTo)
Set the forward |
Microsoft |
withMarkAsRead(Boolean markAsRead)
Set the mark |
Microsoft |
withMarkImportance(MicrosoftGraphImportance markImportance)
Set the mark |
Microsoft |
withMoveToFolder(String moveToFolder)
Set the move |
Microsoft |
withPermanentDelete(Boolean permanentDelete)
Set the permanent |
Microsoft |
withRedirectTo(List<MicrosoftGraphRecipient> redirectTo)
Set the redirect |
Microsoft |
withStopProcessingRules(Boolean stopProcessingRules)
Set the stop |
Methods inherited from java.lang.Object
Constructor Details
MicrosoftGraphMessageRuleActions
public MicrosoftGraphMessageRuleActions()
Creates an instance of MicrosoftGraphMessageRuleActions class.
Method Details
additionalProperties
public Map
Get the additionalProperties property: messageRuleActions.
Returns:
assignCategories
public List
Get the assignCategories property: A list of categories to be assigned to a message.
Returns:
copyToFolder
public String copyToFolder()
Get the copyToFolder property: The ID of a folder that a message is to be copied to.
Returns:
delete
public Boolean delete()
Get the delete property: Indicates whether a message should be moved to the Deleted Items folder.
Returns:
forwardAsAttachmentTo
public List
Get the forwardAsAttachmentTo property: The email addresses of the recipients to which a message should be forwarded as an attachment.
Returns:
forwardTo
public List
Get the forwardTo property: The email addresses of the recipients to which a message should be forwarded.
Returns:
fromJson
public static MicrosoftGraphMessageRuleActions fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphMessageRuleActions from the JsonReader.
Parameters:
Returns:
Throws:
markAsRead
public Boolean markAsRead()
Get the markAsRead property: Indicates whether a message should be marked as read.
Returns:
markImportance
public MicrosoftGraphImportance markImportance()
Get the markImportance property: importance.
Returns:
moveToFolder
public String moveToFolder()
Get the moveToFolder property: The ID of the folder that a message will be moved to.
Returns:
permanentDelete
public Boolean permanentDelete()
Get the permanentDelete property: Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
Returns:
redirectTo
public List
Get the redirectTo property: The email addresses to which a message should be redirected.
Returns:
stopProcessingRules
public Boolean stopProcessingRules()
Get the stopProcessingRules property: Indicates whether subsequent rules should be evaluated.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAdditionalProperties
public MicrosoftGraphMessageRuleActions withAdditionalProperties(Map
Set the additionalProperties property: messageRuleActions.
Parameters:
Returns:
withAssignCategories
public MicrosoftGraphMessageRuleActions withAssignCategories(List
Set the assignCategories property: A list of categories to be assigned to a message.
Parameters:
Returns:
withCopyToFolder
public MicrosoftGraphMessageRuleActions withCopyToFolder(String copyToFolder)
Set the copyToFolder property: The ID of a folder that a message is to be copied to.
Parameters:
Returns:
withDelete
public MicrosoftGraphMessageRuleActions withDelete(Boolean delete)
Set the delete property: Indicates whether a message should be moved to the Deleted Items folder.
Parameters:
Returns:
withForwardAsAttachmentTo
public MicrosoftGraphMessageRuleActions withForwardAsAttachmentTo(List
Set the forwardAsAttachmentTo property: The email addresses of the recipients to which a message should be forwarded as an attachment.
Parameters:
Returns:
withForwardTo
public MicrosoftGraphMessageRuleActions withForwardTo(List
Set the forwardTo property: The email addresses of the recipients to which a message should be forwarded.
Parameters:
Returns:
withMarkAsRead
public MicrosoftGraphMessageRuleActions withMarkAsRead(Boolean markAsRead)
Set the markAsRead property: Indicates whether a message should be marked as read.
Parameters:
Returns:
withMarkImportance
public MicrosoftGraphMessageRuleActions withMarkImportance(MicrosoftGraphImportance markImportance)
Set the markImportance property: importance.
Parameters:
Returns:
withMoveToFolder
public MicrosoftGraphMessageRuleActions withMoveToFolder(String moveToFolder)
Set the moveToFolder property: The ID of the folder that a message will be moved to.
Parameters:
Returns:
withPermanentDelete
public MicrosoftGraphMessageRuleActions withPermanentDelete(Boolean permanentDelete)
Set the permanentDelete property: Indicates whether a message should be permanently deleted and not saved to the Deleted Items folder.
Parameters:
Returns:
withRedirectTo
public MicrosoftGraphMessageRuleActions withRedirectTo(List
Set the redirectTo property: The email addresses to which a message should be redirected.
Parameters:
Returns:
withStopProcessingRules
public MicrosoftGraphMessageRuleActions withStopProcessingRules(Boolean stopProcessingRules)
Set the stopProcessingRules property: Indicates whether subsequent rules should be evaluated.
Parameters:
Returns:
Applies to
Azure SDK for Java