Class FieldIndex

    • Method Detail

      • logGroupIdentifier

        public final String logGroupIdentifier()

        If this field index appears in an index policy that applies only to a single log group, the ARN of that log group is displayed here.

        Returns:
        If this field index appears in an index policy that applies only to a single log group, the ARN of that log group is displayed here.
      • fieldIndexName

        public final String fieldIndexName()

        The string that this field index matches.

        Returns:
        The string that this field index matches.
      • lastScanTime

        public final Long lastScanTime()

        The most recent time that CloudWatch Logs scanned ingested log events to search for this field index to improve the speed of future CloudWatch Logs Insights queries that search for this field index.

        Returns:
        The most recent time that CloudWatch Logs scanned ingested log events to search for this field index to improve the speed of future CloudWatch Logs Insights queries that search for this field index.
      • firstEventTime

        public final Long firstEventTime()

        The time and date of the earliest log event that matches this field index, after the index policy that contains it was created.

        Returns:
        The time and date of the earliest log event that matches this field index, after the index policy that contains it was created.
      • lastEventTime

        public final Long lastEventTime()

        The time and date of the most recent log event that matches this field index.

        Returns:
        The time and date of the most recent log event that matches this field index.
      • 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)