Package com.symphony.api.model
Class V1DLPMatchedPolicy
- java.lang.Object
-
- com.symphony.api.model.V1DLPMatchedPolicy
-
public class V1DLPMatchedPolicy extends Object
A representation of policy that matched the violation with a list of matched keywords in the policy
-
-
Constructor Summary
Constructors Constructor Description V1DLPMatchedPolicy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V1DLPMatchedPolicy
diagnostic(String diagnostic)
String
getDiagnostic()
A diagnostic message containing an error message in the event that the decryption of terms failed.String
getId()
Id of the policyString
getPolicyName()
Name of the policyString
getTerms()
List of decrypted matched keywords in the policyString
getType()
Whether BLOCK or WARNString
getVersion()
Version of the policyV1DLPMatchedPolicy
id(String id)
V1DLPMatchedPolicy
policyName(String policyName)
void
setDiagnostic(String diagnostic)
void
setId(String id)
void
setPolicyName(String policyName)
void
setTerms(String terms)
void
setType(String type)
void
setVersion(String version)
V1DLPMatchedPolicy
terms(String terms)
String
toString()
V1DLPMatchedPolicy
type(String type)
V1DLPMatchedPolicy
version(String version)
-
-
-
Method Detail
-
getId
public String getId()
Id of the policy- Returns:
- id
-
setId
public void setId(String id)
-
id
public V1DLPMatchedPolicy id(String id)
-
getVersion
public String getVersion()
Version of the policy- Returns:
- version
-
setVersion
public void setVersion(String version)
-
version
public V1DLPMatchedPolicy version(String version)
-
getPolicyName
public String getPolicyName()
Name of the policy- Returns:
- policyName
-
setPolicyName
public void setPolicyName(String policyName)
-
policyName
public V1DLPMatchedPolicy policyName(String policyName)
-
getType
public String getType()
Whether BLOCK or WARN- Returns:
- type
-
setType
public void setType(String type)
-
type
public V1DLPMatchedPolicy type(String type)
-
getTerms
public String getTerms()
List of decrypted matched keywords in the policy- Returns:
- terms
-
setTerms
public void setTerms(String terms)
-
terms
public V1DLPMatchedPolicy terms(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)
-
diagnostic
public V1DLPMatchedPolicy diagnostic(String diagnostic)
-
-