Class GetRuleResult

    • Constructor Detail

      • GetRuleResult

        public GetRuleResult()
    • Method Detail

      • setRule

        public void setRule​(Rule rule)

        Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
        Parameters:
        rule - Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
      • getRule

        public Rule getRule()

        Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
        Returns:
        Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
      • withRule

        public GetRuleResult withRule​(Rule rule)

        Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
        Parameters:
        rule - Information about the Rule that you specified in the GetRule request. For more information, see the following topics:

        • Rule: Contains MetricName, Name, an array of Predicate objects, and RuleId
        • Predicate: Each Predicate object contains DataId, Negated, and Type
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object