Package com.symphony.api.model
Class V3DLPPolicyAppliesTo
- java.lang.Object
-
- com.symphony.api.model.V3DLPPolicyAppliesTo
-
public class V3DLPPolicyAppliesTo extends Object
-
-
Constructor Summary
Constructors Constructor Description V3DLPPolicyAppliesTo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description V3DLPPolicyAppliesTo
action(String action)
V3DLPPolicyAppliesTo
addRulesItem(V3DLPRule rulesItem)
V3DLPPolicyAppliesTo
dataType(String dataType)
String
getAction()
Action to be taken on violation detection.String
getDataType()
The list of data types that policy should apply to.List<V3DLPRule>
getRules()
Get rulesV3DLPPolicyAppliesTo
rules(List<V3DLPRule> rules)
void
setAction(String action)
void
setDataType(String dataType)
void
setRules(List<V3DLPRule> rules)
String
toString()
-
-
-
Method Detail
-
getDataType
public String getDataType()
The list of data types that policy should apply to. Can't be empty. Can be [\"Messages\",\"RoomMeta\", \"SignalMeta\", \"FileContent\", \"FileMeta\"].- Returns:
- dataType
-
setDataType
public void setDataType(String dataType)
-
dataType
public V3DLPPolicyAppliesTo dataType(String dataType)
-
getAction
public String getAction()
Action to be taken on violation detection. Can be [\"Block\", \"Warn\", \"LogOnly\"]. The default is \"LogOnly\".- Returns:
- action
-
setAction
public void setAction(String action)
-
action
public V3DLPPolicyAppliesTo action(String action)
-
rules
public V3DLPPolicyAppliesTo rules(List<V3DLPRule> rules)
-
addRulesItem
public V3DLPPolicyAppliesTo addRulesItem(V3DLPRule rulesItem)
-
-