Class MCRuleComparison

All Implemented Interfaces:
Serializable

@Generated("com.atlan.generators.ModelGeneratorV2") public class MCRuleComparison extends AtlanStruct
Detailed information about the comparison logic of a Monte Carlo rule.
See Also:
  • Field Details

  • Constructor Details

  • Method Details

    • of

      public static MCRuleComparison of(String mcRuleComparisonType, String mcRuleComparisonField, String mcRuleComparisonMetric, String mcRuleComparisonOperator, Double mcRuleComparisonThreshold, Boolean mcRuleComparisonIsThresholdRelative)
      Quickly create a new MCRuleComparison.
      Parameters:
      mcRuleComparisonType - Type of comparison, for example threshold.
      mcRuleComparisonField - Field being compared.
      mcRuleComparisonMetric - Metric being compared.
      mcRuleComparisonOperator - Operator used for the comparison, for example greater than (GT).
      mcRuleComparisonThreshold - Threshold being compared.
      mcRuleComparisonIsThresholdRelative - Whether the threshold comparison is relative (true) or absolute (false).
      Returns:
      a MCRuleComparison with the provided information
    • builder

      public static MCRuleComparison.MCRuleComparisonBuilder<?,?> builder()
    • toBuilder

    • getMcRuleComparisonType

      public String getMcRuleComparisonType()
      Type of comparison, for example threshold.
    • getMcRuleComparisonField

      public String getMcRuleComparisonField()
      Field being compared.
    • getMcRuleComparisonMetric

      public String getMcRuleComparisonMetric()
      Metric being compared.
    • getMcRuleComparisonOperator

      public String getMcRuleComparisonOperator()
      Operator used for the comparison, for example greater than (GT).
    • getMcRuleComparisonThreshold

      public Double getMcRuleComparisonThreshold()
      Threshold being compared.
    • getMcRuleComparisonIsThresholdRelative

      public Boolean getMcRuleComparisonIsThresholdRelative()
      Whether the threshold comparison is relative (true) or absolute (false).
    • 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 MCRuleComparison.
      Overrides:
      getTypeName in class AtlanStruct