Class MicrosoftGraphChatMessagePolicyViolation
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessagePolicyViolation
-
public final class MicrosoftGraphChatMessagePolicyViolation extends Object
chatMessagePolicyViolation.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphChatMessagePolicyViolation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: chatMessagePolicyViolation.MicrosoftGraphChatMessagePolicyViolationDlpActionTypesdlpAction()Get the dlpAction property: The dlpAction property.StringjustificationText()Get the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.MicrosoftGraphChatMessagePolicyViolationPolicyTippolicyTip()Get the policyTip property: chatMessagePolicyViolationPolicyTip.MicrosoftGraphChatMessagePolicyViolationUserActionTypesuserAction()Get the userAction property: The userAction property.voidvalidate()Validates the instance.MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypesverdictDetails()Get the verdictDetails property: The verdictDetails property.MicrosoftGraphChatMessagePolicyViolationwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: chatMessagePolicyViolation.MicrosoftGraphChatMessagePolicyViolationwithDlpAction(MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction)Set the dlpAction property: The dlpAction property.MicrosoftGraphChatMessagePolicyViolationwithJustificationText(String justificationText)Set the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.MicrosoftGraphChatMessagePolicyViolationwithPolicyTip(MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip)Set the policyTip property: chatMessagePolicyViolationPolicyTip.MicrosoftGraphChatMessagePolicyViolationwithUserAction(MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction)Set the userAction property: The userAction property.MicrosoftGraphChatMessagePolicyViolationwithVerdictDetails(MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails)Set the verdictDetails property: The verdictDetails property.
-
-
-
Method Detail
-
dlpAction
public MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction()
Get the dlpAction property: The dlpAction property.- Returns:
- the dlpAction value.
-
withDlpAction
public MicrosoftGraphChatMessagePolicyViolation withDlpAction(MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction)
Set the dlpAction property: The dlpAction property.- Parameters:
dlpAction- the dlpAction value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
justificationText
public String justificationText()
Get the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.- Returns:
- the justificationText value.
-
withJustificationText
public MicrosoftGraphChatMessagePolicyViolation withJustificationText(String justificationText)
Set the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.- Parameters:
justificationText- the justificationText value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
policyTip
public MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip()
Get the policyTip property: chatMessagePolicyViolationPolicyTip.- Returns:
- the policyTip value.
-
withPolicyTip
public MicrosoftGraphChatMessagePolicyViolation withPolicyTip(MicrosoftGraphChatMessagePolicyViolationPolicyTip policyTip)
Set the policyTip property: chatMessagePolicyViolationPolicyTip.- Parameters:
policyTip- the policyTip value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
userAction
public MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction()
Get the userAction property: The userAction property.- Returns:
- the userAction value.
-
withUserAction
public MicrosoftGraphChatMessagePolicyViolation withUserAction(MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction)
Set the userAction property: The userAction property.- Parameters:
userAction- the userAction value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
verdictDetails
public MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails()
Get the verdictDetails property: The verdictDetails property.- Returns:
- the verdictDetails value.
-
withVerdictDetails
public MicrosoftGraphChatMessagePolicyViolation withVerdictDetails(MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails)
Set the verdictDetails property: The verdictDetails property.- Parameters:
verdictDetails- the verdictDetails value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: chatMessagePolicyViolation.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphChatMessagePolicyViolation withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: chatMessagePolicyViolation.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-