Package com.atlan.model.structs
Class BusinessPolicyRule
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.structs.AtlanStruct
com.atlan.model.structs.BusinessPolicyRule
- All Implemented Interfaces:
Serializable
@Generated("com.atlan.generators.ModelGeneratorV2")
public class BusinessPolicyRule
extends AtlanStruct
Rules in the business policy
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBusinessPolicyRule.BusinessPolicyRuleBuilder<C extends BusinessPolicyRule,B extends BusinessPolicyRule.BusinessPolicyRuleBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.structs.AtlanStruct
AtlanStruct.AtlanStructBuilder<C extends AtlanStruct,B extends AtlanStruct.AtlanStructBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
FieldsFields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionstatic BusinessPolicyRule.BusinessPolicyRuleBuilder<?, ?> builder()protected booleanbooleangetBprId()business policy rule id we have to keep it hierarchical e.g.Name for business policy rule it can be a display string to show on UIoperand in rule for business policy rule these can be attributes like certificateStatus, tags etc.operator to apply in rule for business policy rule this can be must_be, must_not_be etces query for business policy rule in combination with filter DSL of policybusiness policy rule to make the ordering easiervalue to validate for the operand against the operator for business policy rule.Fixed typeName for BusinessPolicyRule.inthashCode()static BusinessPolicyRuleof(String bprId, String bprName, String bprSequence, String bprOperand, String bprOperator, List<String> bprValues, String bprQuery) Quickly create a new BusinessPolicyRule.toString()Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
BusinessPolicyRule
-
-
Method Details
-
of
public static BusinessPolicyRule of(String bprId, String bprName, String bprSequence, String bprOperand, String bprOperator, List<String> bprValues, String bprQuery) Quickly create a new BusinessPolicyRule.- Parameters:
bprId- business policy rule id we have to keep it hierarchical e.g. policyId_ruleIdbprName- Name for business policy rule it can be a display string to show on UIbprSequence- business policy rule to make the ordering easierbprOperand- operand in rule for business policy rule these can be attributes like certificateStatus, tags etc.bprOperator- operator to apply in rule for business policy rule this can be must_be, must_not_be etcbprValues- value to validate for the operand against the operator for business policy rule.bprQuery- es query for business policy rule in combination with filter DSL of policy- Returns:
- a BusinessPolicyRule with the provided information
-
builder
-
toBuilder
-
getBprId
business policy rule id we have to keep it hierarchical e.g. policyId_ruleId -
getBprName
Name for business policy rule it can be a display string to show on UI -
getBprSequence
business policy rule to make the ordering easier -
getBprOperand
operand in rule for business policy rule these can be attributes like certificateStatus, tags etc. -
getBprOperator
operator to apply in rule for business policy rule this can be must_be, must_not_be etc -
getBprValues
value to validate for the operand against the operator for business policy rule. -
getBprQuery
es query for business policy rule in combination with filter DSL of policy -
equals
- Overrides:
equalsin classAtlanStruct
-
canEqual
- Overrides:
canEqualin classAtlanStruct
-
hashCode
public int hashCode()- Overrides:
hashCodein classAtlanStruct
-
toString
Description copied from class:AtlanObject- Overrides:
toStringin classAtlanObject
-
getTypeName
Fixed typeName for BusinessPolicyRule.- Overrides:
getTypeNamein classAtlanStruct
-