Class V1DLPMatchedPolicy


  • public class V1DLPMatchedPolicy
    extends Object
    A representation of policy that matched the violation with a list of matched keywords in the policy
    • Constructor Detail

      • V1DLPMatchedPolicy

        public V1DLPMatchedPolicy()
    • Method Detail

      • getId

        public String getId()
        Id of the policy
        Returns:
        id
      • setId

        public void setId​(String id)
      • getVersion

        public String getVersion()
        Version of the policy
        Returns:
        version
      • setVersion

        public void setVersion​(String version)
      • getPolicyName

        public String getPolicyName()
        Name of the policy
        Returns:
        policyName
      • setPolicyName

        public void setPolicyName​(String policyName)
      • getType

        public String getType()
        Whether BLOCK or WARN
        Returns:
        type
      • setType

        public void setType​(String type)
      • getTerms

        public String getTerms()
        List of decrypted matched keywords in the policy
        Returns:
        terms
      • setTerms

        public void setTerms​(String terms)
      • getDiagnostic

        public String getDiagnostic()
        A diagnostic message containing an error message in the event that the decryption of terms failed. May also be present in the case of a successful call if there is useful narrative to return.
        Returns:
        diagnostic
      • setDiagnostic

        public void setDiagnostic​(String diagnostic)