Class MicrosoftGraphChatMessagePolicyViolationPolicyTip
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessagePolicyViolationPolicyTip
-
public final class MicrosoftGraphChatMessagePolicyViolationPolicyTip extends Object
chatMessagePolicyViolationPolicyTip.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphChatMessagePolicyViolationPolicyTip()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: chatMessagePolicyViolationPolicyTip.String
complianceUrl()
Get the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.String
generalText()
Get the generalText property: Explanatory text shown to the sender of the message.List<String>
matchedConditionDescriptions()
Get the matchedConditionDescriptions property: The list of improper data in the message that was detected by the data loss prevention app.void
validate()
Validates the instance.MicrosoftGraphChatMessagePolicyViolationPolicyTip
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: chatMessagePolicyViolationPolicyTip.MicrosoftGraphChatMessagePolicyViolationPolicyTip
withComplianceUrl(String complianceUrl)
Set the complianceUrl property: The URL a user can visit to read about the data loss prevention policies for the organization.MicrosoftGraphChatMessagePolicyViolationPolicyTip
withGeneralText(String generalText)
Set the generalText property: Explanatory text shown to the sender of the message.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.
-
-
-
Method Detail
-
complianceUrl
public String 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
public MicrosoftGraphChatMessagePolicyViolationPolicyTip withComplianceUrl(String complianceUrl)
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
public String generalText()
Get the generalText property: Explanatory text shown to the sender of the message.- Returns:
- the generalText value.
-
withGeneralText
public MicrosoftGraphChatMessagePolicyViolationPolicyTip withGeneralText(String generalText)
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
public List<String> 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
public Map<String,Object> 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.
-
-