Package com.symphony.api.model
Class V1DLPViolation
- java.lang.Object
-
- com.symphony.api.model.V1DLPViolation
-
public class V1DLPViolation extends Object
A representation of a violation due to a message sent by a user of Symphony
-
-
Constructor Summary
Constructors Constructor Description V1DLPViolation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1DLPViolation
action(String action)
V1DLPViolation
createTime(Long createTime)
V1DLPViolation
enforcementEventID(String enforcementEventID)
V1DLPViolation
entityID(String entityID)
String
getAction()
action taken such as BLOCK or WARN.Long
getCreateTime()
Timestamp of the violation in milliseconds since Jan 1 1970String
getEnforcementEventID()
Enforcement event ID.String
getEntityID()
Entity ID is the content Id of the violation, for example, for messages, its the Id of the messageLong
getLastModified()
Timestamp of the last modification of violation in milliseconds since Jan 1 1970V1DLPMatchedPolicyList
getMatchedPolicies()
Get matchedPoliciesV1DLPOutcome
getOutcome()
Get outcomeLong
getRequesterId()
Id of the requester responsible for the message/stream/signalString
getVersion()
Version of application which processed the message and produced this violation.V1DLPViolation
ignoreDLPwarning(Boolean ignoreDLPwarning)
Boolean
isisIgnoreDLPwarning()
Did the user chose to ignore DLP warning that was presented?V1DLPViolation
lastModified(Long lastModified)
V1DLPViolation
matchedPolicies(V1DLPMatchedPolicyList matchedPolicies)
V1DLPViolation
outcome(V1DLPOutcome outcome)
V1DLPViolation
requesterId(Long requesterId)
void
setAction(String action)
void
setCreateTime(Long createTime)
void
setEnforcementEventID(String enforcementEventID)
void
setEntityID(String entityID)
void
setIgnoreDLPwarning(Boolean ignoreDLPwarning)
void
setLastModified(Long lastModified)
void
setMatchedPolicies(V1DLPMatchedPolicyList matchedPolicies)
void
setOutcome(V1DLPOutcome outcome)
void
setRequesterId(Long requesterId)
void
setVersion(String version)
String
toString()
V1DLPViolation
version(String version)
-
-
-
Method Detail
-
getEnforcementEventID
public String getEnforcementEventID()
Enforcement event ID. Unique ID that identifies this enforcement.- Returns:
- enforcementEventID
-
setEnforcementEventID
public void setEnforcementEventID(String enforcementEventID)
-
enforcementEventID
public V1DLPViolation enforcementEventID(String enforcementEventID)
-
getEntityID
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)
-
entityID
public V1DLPViolation entityID(String entityID)
-
getCreateTime
public Long getCreateTime()
Timestamp of the violation in milliseconds since Jan 1 1970- Returns:
- createTime
-
setCreateTime
public void setCreateTime(Long createTime)
-
createTime
public V1DLPViolation createTime(Long createTime)
-
getLastModified
public Long getLastModified()
Timestamp of the last modification of violation in milliseconds since Jan 1 1970- Returns:
- lastModified
-
setLastModified
public void setLastModified(Long lastModified)
-
lastModified
public V1DLPViolation lastModified(Long lastModified)
-
getRequesterId
public Long getRequesterId()
Id of the requester responsible for the message/stream/signal- Returns:
- requesterId
-
setRequesterId
public void setRequesterId(Long requesterId)
-
requesterId
public V1DLPViolation requesterId(Long requesterId)
-
getMatchedPolicies
public V1DLPMatchedPolicyList getMatchedPolicies()
Get matchedPolicies- Returns:
- matchedPolicies
-
setMatchedPolicies
public void setMatchedPolicies(V1DLPMatchedPolicyList matchedPolicies)
-
matchedPolicies
public V1DLPViolation matchedPolicies(V1DLPMatchedPolicyList matchedPolicies)
-
getAction
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)
-
action
public V1DLPViolation action(String action)
-
getOutcome
public V1DLPOutcome getOutcome()
Get outcome- Returns:
- outcome
-
setOutcome
public void setOutcome(V1DLPOutcome outcome)
-
outcome
public V1DLPViolation outcome(V1DLPOutcome outcome)
-
getVersion
public String getVersion()
Version of application which processed the message and produced this violation.- Returns:
- version
-
setVersion
public void setVersion(String version)
-
version
public V1DLPViolation version(String version)
-
isisIgnoreDLPwarning
public Boolean isisIgnoreDLPwarning()
Did the user chose to ignore DLP warning that was presented?- Returns:
- ignoreDLPwarning
-
setIgnoreDLPwarning
public void setIgnoreDLPwarning(Boolean ignoreDLPwarning)
-
ignoreDLPwarning
public V1DLPViolation ignoreDLPwarning(Boolean ignoreDLPwarning)
-
-