Class BusinessPolicyRule

All Implemented Interfaces:
Serializable

@Generated("com.atlan.generators.ModelGeneratorV2") public class BusinessPolicyRule extends AtlanStruct
Rules in the business policy
See Also:
  • Field Details

  • Constructor Details

  • 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_ruleId
      bprName - Name for business policy rule it can be a display string to show on UI
      bprSequence - business policy rule to make the ordering easier
      bprOperand - 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 etc
      bprValues - 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

      public static BusinessPolicyRule.BusinessPolicyRuleBuilder<?,?> builder()
    • toBuilder

    • getBprId

      public String getBprId()
      business policy rule id we have to keep it hierarchical e.g. policyId_ruleId
    • getBprName

      public String getBprName()
      Name for business policy rule it can be a display string to show on UI
    • getBprSequence

      public String getBprSequence()
      business policy rule to make the ordering easier
    • getBprOperand

      public String getBprOperand()
      operand in rule for business policy rule these can be attributes like certificateStatus, tags etc.
    • getBprOperator

      public String getBprOperator()
      operator to apply in rule for business policy rule this can be must_be, must_not_be etc
    • getBprValues

      public List<String> getBprValues()
      value to validate for the operand against the operator for business policy rule.
    • getBprQuery

      public String getBprQuery()
      es query for business policy rule in combination with filter DSL of policy
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class AtlanStruct
    • canEqual

      protected boolean canEqual(Object other)
      Overrides:
      canEqual in class AtlanStruct
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class AtlanStruct
    • toString

      public String toString()
      Description copied from class: AtlanObject
      Overrides:
      toString in class AtlanObject
    • getTypeName

      public String getTypeName()
      Fixed typeName for BusinessPolicyRule.
      Overrides:
      getTypeName in class AtlanStruct