Class MicrosoftGraphChatMessagePolicyViolation
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphChatMessagePolicyViolation
chatMessagePolicyViolation.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphChatMessagePolicyViolation class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: chatMessagePolicyViolation.Get the dlpAction property: chatMessagePolicyViolationDlpActionTypes.Get the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.Get the policyTip property: chatMessagePolicyViolationPolicyTip.Get the userAction property: chatMessagePolicyViolationUserActionTypes.voidvalidate()Validates the instance.Get the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: chatMessagePolicyViolation.Set the dlpAction property: chatMessagePolicyViolationDlpActionTypes.withJustificationText(String justificationText) Set the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.Set the policyTip property: chatMessagePolicyViolationPolicyTip.Set the userAction property: chatMessagePolicyViolationUserActionTypes.Set the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.
-
Constructor Details
-
MicrosoftGraphChatMessagePolicyViolation
public MicrosoftGraphChatMessagePolicyViolation()Creates an instance of MicrosoftGraphChatMessagePolicyViolation class.
-
-
Method Details
-
dlpAction
Get the dlpAction property: chatMessagePolicyViolationDlpActionTypes.- Returns:
- the dlpAction value.
-
withDlpAction
public MicrosoftGraphChatMessagePolicyViolation withDlpAction(MicrosoftGraphChatMessagePolicyViolationDlpActionTypes dlpAction) Set the dlpAction property: chatMessagePolicyViolationDlpActionTypes.- Parameters:
dlpAction- the dlpAction value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
justificationText
Get the justificationText property: Justification text provided by the sender of the message when overriding a policy violation.- Returns:
- the justificationText value.
-
withJustificationText
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
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
Get the userAction property: chatMessagePolicyViolationUserActionTypes.- Returns:
- the userAction value.
-
withUserAction
public MicrosoftGraphChatMessagePolicyViolation withUserAction(MicrosoftGraphChatMessagePolicyViolationUserActionTypes userAction) Set the userAction property: chatMessagePolicyViolationUserActionTypes.- Parameters:
userAction- the userAction value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
verdictDetails
Get the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.- Returns:
- the verdictDetails value.
-
withVerdictDetails
public MicrosoftGraphChatMessagePolicyViolation withVerdictDetails(MicrosoftGraphChatMessagePolicyViolationVerdictDetailsTypes verdictDetails) Set the verdictDetails property: chatMessagePolicyViolationVerdictDetailsTypes.- Parameters:
verdictDetails- the verdictDetails value to set.- Returns:
- the MicrosoftGraphChatMessagePolicyViolation object itself.
-
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.
-