Package com.symphony.api.model
Class V1DLPPolicyRequest
- java.lang.Object
-
- com.symphony.api.model.V1DLPPolicyRequest
-
public class V1DLPPolicyRequest extends Object
The policy object to use for creating/updating a policy.
-
-
Constructor Summary
Constructors Constructor Description V1DLPPolicyRequest()
-
Method Summary
-
-
-
Method Detail
-
getContentTypes
public List<String> getContentTypes()
The list of content types that policy should apply to. Cannot be empty. Policy content types could be either of \"Messages\", \"RoomMeta\", \"SignalMeta\". Default is set to [\"Messages\"] if not specified.- Returns:
- contentTypes
-
contentTypes
public V1DLPPolicyRequest contentTypes(List<String> contentTypes)
-
addContentTypesItem
public V1DLPPolicyRequest addContentTypesItem(String contentTypesItem)
-
getDictionaryIds
public List<String> getDictionaryIds()
List of dictionaries Ids for the policy.- Returns:
- dictionaryIds
-
dictionaryIds
public V1DLPPolicyRequest dictionaryIds(List<String> dictionaryIds)
-
addDictionaryIdsItem
public V1DLPPolicyRequest addDictionaryIdsItem(String dictionaryIdsItem)
-
getName
public String getName()
Unique name of a policy, max 30 characters. Cannot be empty. All the leading and trailing blank spaces are trimmed.- Returns:
- name
-
setName
public void setName(String name)
-
name
public V1DLPPolicyRequest name(String name)
-
getScopes
public List<String> getScopes()
List of communication scopes. Possible values are \"Internal\" (for Internal conversations) or \"External\" (for External conversations). You can apply both scopes if you set it to [\"Internal\", \"External\"].- Returns:
- scopes
-
scopes
public V1DLPPolicyRequest scopes(List<String> scopes)
-
addScopesItem
public V1DLPPolicyRequest addScopesItem(String scopesItem)
-
getType
public String getType()
Type of policy. Possible values \"Block\" or \"Warn\".- Returns:
- type
-
setType
public void setType(String type)
-
type
public V1DLPPolicyRequest type(String type)
-
-