Class V1DLPViolation

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

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-03-26T16:14:53.869723549Z[Etc/UTC]") public class V1DLPViolation extends Object
A representation of a violation due to a message sent by a user of Symphony
  • Field Details

  • Constructor Details

    • V1DLPViolation

      public V1DLPViolation()
  • Method Details

    • enforcementEventID

      public V1DLPViolation enforcementEventID(String enforcementEventID)
    • getEnforcementEventID

      @Nullable public String getEnforcementEventID()
      Enforcement event ID. Unique ID that identifies this enforcement.
      Returns:
      enforcementEventID
    • setEnforcementEventID

      public void setEnforcementEventID(String enforcementEventID)
    • entityID

      public V1DLPViolation entityID(String entityID)
    • getEntityID

      @Nullable public String getEntityID()
      Entity ID is the content Id of the violation, for example, for messages, its the Id of the message
      Returns:
      entityID
    • setEntityID

      public void setEntityID(String entityID)
    • createTime

      public V1DLPViolation createTime(Long createTime)
    • getCreateTime

      @Nullable public Long getCreateTime()
      Timestamp of the violation in milliseconds since Jan 1 1970
      Returns:
      createTime
    • setCreateTime

      public void setCreateTime(Long createTime)
    • lastModified

      public V1DLPViolation lastModified(Long lastModified)
    • getLastModified

      @Nullable public Long getLastModified()
      Timestamp of the last modification of violation in milliseconds since Jan 1 1970
      Returns:
      lastModified
    • setLastModified

      public void setLastModified(Long lastModified)
    • requesterId

      public V1DLPViolation requesterId(Long requesterId)
    • getRequesterId

      @Nullable public Long getRequesterId()
      Id of the requester responsible for the message/stream/signal
      Returns:
      requesterId
    • setRequesterId

      public void setRequesterId(Long requesterId)
    • matchedPolicies

      public V1DLPViolation matchedPolicies(List<V1DLPMatchedPolicy> matchedPolicies)
    • addMatchedPoliciesItem

      public V1DLPViolation addMatchedPoliciesItem(V1DLPMatchedPolicy matchedPoliciesItem)
    • getMatchedPolicies

      @Nullable public List<V1DLPMatchedPolicy> getMatchedPolicies()
      List of policies that matched the violation.
      Returns:
      matchedPolicies
    • setMatchedPolicies

      public void setMatchedPolicies(List<V1DLPMatchedPolicy> matchedPolicies)
    • action

      public V1DLPViolation action(String action)
    • getAction

      @Nullable public String getAction()
      action taken such as BLOCK or WARN. See outcome for a more detailed description of the outcome this action.
      Returns:
      action
    • setAction

      public void setAction(String action)
    • outcome

      public V1DLPViolation outcome(V1DLPOutcome outcome)
    • getOutcome

      @Nullable public V1DLPOutcome getOutcome()
      Get outcome
      Returns:
      outcome
    • setOutcome

      public void setOutcome(V1DLPOutcome outcome)
    • contentType

      public V1DLPViolation contentType(V1DLPContentType contentType)
    • getContentType

      @Nullable public V1DLPContentType getContentType()
      Get contentType
      Returns:
      contentType
    • setContentType

      public void setContentType(V1DLPContentType contentType)
    • version

      public V1DLPViolation version(String version)
    • getVersion

      @Nullable public String getVersion()
      Version of application which processed the message and produced this violation.
      Returns:
      version
    • setVersion

      public void setVersion(String version)
    • ignoreDLPwarning

      public V1DLPViolation ignoreDLPwarning(Boolean ignoreDLPwarning)
    • getIgnoreDLPwarning

      @Nullable public Boolean getIgnoreDLPwarning()
      Did the user chose to ignore DLP warning that was presented?
      Returns:
      ignoreDLPwarning
    • setIgnoreDLPwarning

      public void setIgnoreDLPwarning(Boolean ignoreDLPwarning)
    • equals

      public boolean equals(Object o)
      Return true if this V1DLPViolation 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