Class MicrosoftGraphChatMessagePolicyViolationPolicyTip
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessagePolicyViolationPolicyTip
chatMessagePolicyViolationPolicyTip.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: chatMessagePolicyViolationPolicyTip.Get the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.Get the generalText property: Explanatory text shown to the sender of the message.Get the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: chatMessagePolicyViolationPolicyTip.withComplianceUrl(String complianceUrl) Set the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.withGeneralText(String generalText) Set the generalText property: Explanatory text shown to the sender of the message.withMatchedConditionDescriptions(List<String> matchedConditionDescriptions) Set the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app.
-
Constructor Details
-
MicrosoftGraphChatMessagePolicyViolationPolicyTip
public MicrosoftGraphChatMessagePolicyViolationPolicyTip()Creates an instance of MicrosoftGraphChatMessagePolicyViolationPolicyTip class.
-
-
Method Details
-
complianceUrl
Get the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats).- Returns:
- the complianceUrl value.
-
withComplianceUrl
Set the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization. (ie, policies about what users shouldn't say in chats).- Parameters:
complianceUrl- the complianceUrl value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.
-
generalText
Get the generalText property: Explanatory text shown to the sender of the message.- Returns:
- the generalText value.
-
withGeneralText
Set the generalText property: Explanatory text shown to the sender of the message.- Parameters:
generalText- the generalText value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.
-
matchedConditionDescriptions
Get the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.- Returns:
- the matchedConditionDescriptions value.
-
withMatchedConditionDescriptions
public MicrosoftGraphChatMessagePolicyViolationPolicyTip withMatchedConditionDescriptions(List<String> matchedConditionDescriptions) Set the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app. Each DLP app defines its own conditions, examples include 'Credit Card Number' and 'Social Security Number'.- Parameters:
matchedConditionDescriptions- the matchedConditionDescriptions value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.
-
additionalProperties
Get the additionalProperties property: chatMessagePolicyViolationPolicyTip.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphChatMessagePolicyViolationPolicyTip withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: chatMessagePolicyViolationPolicyTip.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolationPolicyTip object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-