Interface FieldIndex.Builder

  • Method Details

    • logGroupIdentifier

      FieldIndex.Builder logGroupIdentifier(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • fieldIndexName

      FieldIndex.Builder fieldIndexName(String fieldIndexName)

      The string that this field index matches.

      Parameters:
      fieldIndexName - The string that this field index matches.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastScanTime

      FieldIndex.Builder lastScanTime(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • firstEventTime

      FieldIndex.Builder firstEventTime(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.

      Parameters:
      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:
      Returns a reference to this object so that method calls can be chained together.
    • lastEventTime

      FieldIndex.Builder lastEventTime(Long lastEventTime)

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

      Parameters:
      lastEventTime - The time and date of the most recent log event that matches this field index.
      Returns:
      Returns a reference to this object so that method calls can be chained together.