Class CollectionScheme

    • Method Detail

      • timeBasedCollectionScheme

        public final TimeBasedCollectionScheme timeBasedCollectionScheme()

        Information about a collection scheme that uses a time period to decide how often to collect data.

        Returns:
        Information about a collection scheme that uses a time period to decide how often to collect data.
      • conditionBasedCollectionScheme

        public final ConditionBasedCollectionScheme conditionBasedCollectionScheme()

        Information about a collection scheme that uses a simple logical expression to recognize what data to collect.

        Returns:
        Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
      • 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)
      • fromTimeBasedCollectionScheme

        public static CollectionScheme fromTimeBasedCollectionScheme​(TimeBasedCollectionScheme timeBasedCollectionScheme)
        Create an instance of this class with timeBasedCollectionScheme() initialized to the given value.

        Information about a collection scheme that uses a time period to decide how often to collect data.

        Parameters:
        timeBasedCollectionScheme - Information about a collection scheme that uses a time period to decide how often to collect data.
      • fromTimeBasedCollectionScheme

        public static CollectionScheme fromTimeBasedCollectionScheme​(Consumer<TimeBasedCollectionScheme.Builder> timeBasedCollectionScheme)
        Create an instance of this class with timeBasedCollectionScheme() initialized to the given value.

        Information about a collection scheme that uses a time period to decide how often to collect data.

        Parameters:
        timeBasedCollectionScheme - Information about a collection scheme that uses a time period to decide how often to collect data.
      • fromConditionBasedCollectionScheme

        public static CollectionScheme fromConditionBasedCollectionScheme​(ConditionBasedCollectionScheme conditionBasedCollectionScheme)
        Create an instance of this class with conditionBasedCollectionScheme() initialized to the given value.

        Information about a collection scheme that uses a simple logical expression to recognize what data to collect.

        Parameters:
        conditionBasedCollectionScheme - Information about a collection scheme that uses a simple logical expression to recognize what data to collect.
      • fromConditionBasedCollectionScheme

        public static CollectionScheme fromConditionBasedCollectionScheme​(Consumer<ConditionBasedCollectionScheme.Builder> conditionBasedCollectionScheme)
        Create an instance of this class with conditionBasedCollectionScheme() initialized to the given value.

        Information about a collection scheme that uses a simple logical expression to recognize what data to collect.

        Parameters:
        conditionBasedCollectionScheme - Information about a collection scheme that uses a simple logical expression to recognize what data to collect.