Class V1DLPMatchedPolicy

java.lang.Object
com.symphony.bdk.gen.api.model.V1DLPMatchedPolicy

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:53.869723549Z[Etc/UTC]") public class V1DLPMatchedPolicy extends Object
A representation of policy that matched the violation with a list of matched keywords in the policy
  • Field Details

  • Constructor Details

    • V1DLPMatchedPolicy

      public V1DLPMatchedPolicy()
  • Method Details

    • id

      public V1DLPMatchedPolicy id(String id)
    • getId

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

      public void setId(String id)
    • version

      public V1DLPMatchedPolicy version(String version)
    • getVersion

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

      public void setVersion(String version)
    • policyName

      public V1DLPMatchedPolicy policyName(String policyName)
    • getPolicyName

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

      public void setPolicyName(String policyName)
    • type

      public V1DLPMatchedPolicy type(String type)
    • getType

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

      public void setType(String type)
    • terms

      public V1DLPMatchedPolicy terms(String terms)
    • getTerms

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

      public void setTerms(String terms)
    • diagnostic

      public V1DLPMatchedPolicy diagnostic(String diagnostic)
    • getDiagnostic

      @Nullable 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)
    • equals

      public boolean equals(Object o)
      Return true if this V1DLPMatchedPolicy object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object