Interface CloudWatchLogsInputConfig.Builder

  • Method Details

    • logGroupNames

      CloudWatchLogsInputConfig.Builder logGroupNames(Collection<String> logGroupNames)

      The list of CloudWatch log group names to monitor for agent traces.

      Parameters:
      logGroupNames - The list of CloudWatch log group names to monitor for agent traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNames

      CloudWatchLogsInputConfig.Builder logGroupNames(String... logGroupNames)

      The list of CloudWatch log group names to monitor for agent traces.

      Parameters:
      logGroupNames - The list of CloudWatch log group names to monitor for agent traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNamePrefixes

      CloudWatchLogsInputConfig.Builder logGroupNamePrefixes(Collection<String> logGroupNamePrefixes)

      The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One of the two is required.

      Parameters:
      logGroupNamePrefixes - The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One of the two is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNamePrefixes

      CloudWatchLogsInputConfig.Builder logGroupNamePrefixes(String... logGroupNamePrefixes)

      The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One of the two is required.

      Parameters:
      logGroupNamePrefixes - The list of CloudWatch log group name prefixes to monitor for agent traces. Specify this instead of logGroupNames to match log groups by prefix. Specify either logGroupNames or logGroupNamePrefixes, not both. One of the two is required.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNames

      The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.

      Parameters:
      serviceNames - The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNames

      CloudWatchLogsInputConfig.Builder serviceNames(String... serviceNames)

      The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.

      Parameters:
      serviceNames - The list of service names to filter traces within the specified log groups. Used to identify relevant agent sessions.
      Returns:
      Returns a reference to this object so that method calls can be chained together.