Package com.symphony.bdk.gen.api.model
Class V3DLPRule
java.lang.Object
com.symphony.bdk.gen.api.model.V3DLPRule
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-05T16:35:19.322971670Z[Etc/UTC]")
public class V3DLPRule
extends Object
A Rule defines the actual matching specification for policies. It holds a type and a configuration for the rule, these properties should be used to build the corresponding matching implementation. Only one of the configuration property should be set [textMatchConfig, fileSizeConfig, fileExtensionConfig, filePasswordConfig, fileClassifierConfig].
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if this V3DLPRule object is equal to o.fileClassifierConfig
(V3DLPFileClassifierConfig fileClassifierConfig) fileExtensionConfig
(V3DLPFileExtensionConfig fileExtensionConfig) filePasswordConfig
(V3DLPFilePasswordConfig filePasswordConfig) fileSizeConfig
(V3DLPFileSizeConfig fileSizeConfig) Get fileClassifierConfigGet fileExtensionConfigGet filePasswordConfigGet fileSizeConfiggetId()
Get idgetName()
Name for rule.Get textMatchConfiggetType()
Type of a rule used by policy.int
hashCode()
void
setFileClassifierConfig
(V3DLPFileClassifierConfig fileClassifierConfig) void
setFileExtensionConfig
(V3DLPFileExtensionConfig fileExtensionConfig) void
setFilePasswordConfig
(V3DLPFilePasswordConfig filePasswordConfig) void
setFileSizeConfig
(V3DLPFileSizeConfig fileSizeConfig) void
void
void
setTextMatchConfig
(V3DLPTextMatchConfig textMatchConfig) void
textMatchConfig
(V3DLPTextMatchConfig textMatchConfig) toString()
-
Field Details
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_TYPE
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_TEXT_MATCH_CONFIG
- See Also:
-
JSON_PROPERTY_FILE_SIZE_CONFIG
- See Also:
-
JSON_PROPERTY_FILE_EXTENSION_CONFIG
- See Also:
-
JSON_PROPERTY_FILE_PASSWORD_CONFIG
- See Also:
-
JSON_PROPERTY_FILE_CLASSIFIER_CONFIG
- See Also:
-
-
Constructor Details
-
V3DLPRule
public V3DLPRule()
-
-
Method Details
-
id
-
getId
Get id- Returns:
- id
-
setId
-
type
-
getType
Type of a rule used by policy. Can be [\"UNKNOWN\", \"TEXT_MATCH\", \"FILE_EXTENSION\", \"FILE_SIZE\", \"FILE_PASSWORD\", \"FILE_CLASSIFIER\"].- Returns:
- type
-
setType
-
name
-
getName
Name for rule.- Returns:
- name
-
setName
-
textMatchConfig
-
getTextMatchConfig
Get textMatchConfig- Returns:
- textMatchConfig
-
setTextMatchConfig
-
fileSizeConfig
-
getFileSizeConfig
Get fileSizeConfig- Returns:
- fileSizeConfig
-
setFileSizeConfig
-
fileExtensionConfig
-
getFileExtensionConfig
Get fileExtensionConfig- Returns:
- fileExtensionConfig
-
setFileExtensionConfig
-
filePasswordConfig
-
getFilePasswordConfig
Get filePasswordConfig- Returns:
- filePasswordConfig
-
setFilePasswordConfig
-
fileClassifierConfig
-
getFileClassifierConfig
Get fileClassifierConfig- Returns:
- fileClassifierConfig
-
setFileClassifierConfig
-
equals
Return true if this V3DLPRule object is equal to o. -
hashCode
public int hashCode() -
toString
-