Class AnalysisRulePolicyV1

    • Method Detail

      • list

        public final AnalysisRuleList list()

        Analysis rule type that enables only list queries on a configured table.

        Returns:
        Analysis rule type that enables only list queries on a configured table.
      • aggregation

        public final AnalysisRuleAggregation aggregation()

        Analysis rule type that enables only aggregation queries on a configured table.

        Returns:
        Analysis rule type that enables only aggregation queries on a configured table.
      • custom

        public final AnalysisRuleCustom custom()

        Analysis rule type that enables custom SQL queries on a configured table.

        Returns:
        Analysis rule type that enables custom SQL queries on a configured table.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromList

        public static AnalysisRulePolicyV1 fromList​(AnalysisRuleList list)
        Create an instance of this class with list() initialized to the given value.

        Analysis rule type that enables only list queries on a configured table.

        Parameters:
        list - Analysis rule type that enables only list queries on a configured table.
      • fromList

        public static AnalysisRulePolicyV1 fromList​(Consumer<AnalysisRuleList.Builder> list)
        Create an instance of this class with list() initialized to the given value.

        Analysis rule type that enables only list queries on a configured table.

        Parameters:
        list - Analysis rule type that enables only list queries on a configured table.
      • fromAggregation

        public static AnalysisRulePolicyV1 fromAggregation​(AnalysisRuleAggregation aggregation)
        Create an instance of this class with aggregation() initialized to the given value.

        Analysis rule type that enables only aggregation queries on a configured table.

        Parameters:
        aggregation - Analysis rule type that enables only aggregation queries on a configured table.
      • fromAggregation

        public static AnalysisRulePolicyV1 fromAggregation​(Consumer<AnalysisRuleAggregation.Builder> aggregation)
        Create an instance of this class with aggregation() initialized to the given value.

        Analysis rule type that enables only aggregation queries on a configured table.

        Parameters:
        aggregation - Analysis rule type that enables only aggregation queries on a configured table.
      • fromCustom

        public static AnalysisRulePolicyV1 fromCustom​(AnalysisRuleCustom custom)
        Create an instance of this class with custom() initialized to the given value.

        Analysis rule type that enables custom SQL queries on a configured table.

        Parameters:
        custom - Analysis rule type that enables custom SQL queries on a configured table.
      • fromCustom

        public static AnalysisRulePolicyV1 fromCustom​(Consumer<AnalysisRuleCustom.Builder> custom)
        Create an instance of this class with custom() initialized to the given value.

        Analysis rule type that enables custom SQL queries on a configured table.

        Parameters:
        custom - Analysis rule type that enables custom SQL queries on a configured table.