Interface CloudWatchLogsTraceConfig.Builder

  • Method Details

    • logGroupArns

      The list of CloudWatch log group ARNs to read agent traces from.

      Parameters:
      logGroupArns - The list of CloudWatch log group ARNs to read agent traces from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupArns

      CloudWatchLogsTraceConfig.Builder logGroupArns(String... logGroupArns)

      The list of CloudWatch log group ARNs to read agent traces from.

      Parameters:
      logGroupArns - The list of CloudWatch log group ARNs to read agent traces from.
      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.

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

      CloudWatchLogsTraceConfig.Builder serviceNames(String... serviceNames)

      The list of service names to filter traces within the specified log groups.

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

      The start time of the time range to read traces from.

      Parameters:
      startTime - The start time of the time range to read traces from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end time of the time range to read traces from.

      Parameters:
      endTime - The end time of the time range to read traces from.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rule

      Optional rule configuration for filtering traces.

      Parameters:
      rule - Optional rule configuration for filtering traces.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rule

      Optional rule configuration for filtering traces.

      This is a convenience method that creates an instance of the CloudWatchLogsRule.Builder avoiding the need to create one manually via CloudWatchLogsRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rule(CloudWatchLogsRule).

      Parameters:
      rule - a consumer that will call methods on CloudWatchLogsRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: