Interface CloudWatchLogsSourceConfig.Builder

  • Method Details

    • logGroupNames

      CloudWatchLogsSourceConfig.Builder logGroupNames(Collection<String> logGroupNames)

      The names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNamePrefixes.

      Parameters:
      logGroupNames - The names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNamePrefixes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNames

      CloudWatchLogsSourceConfig.Builder logGroupNames(String... logGroupNames)

      The names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNamePrefixes.

      Parameters:
      logGroupNames - The names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNamePrefixes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNamePrefixes

      CloudWatchLogsSourceConfig.Builder logGroupNamePrefixes(Collection<String> logGroupNamePrefixes)

      Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNames.

      Parameters:
      logGroupNamePrefixes - Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNames.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logGroupNamePrefixes

      CloudWatchLogsSourceConfig.Builder logGroupNamePrefixes(String... logGroupNamePrefixes)

      Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNames.

      Parameters:
      logGroupNamePrefixes - Prefixes of the names of the log groups to read, from 1 to 5. You can't specify this together with logGroupNames.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNames

      The service name of the agent, which matches the service.name resource attribute in its traces. Specify exactly one.

      Parameters:
      serviceNames - The service name of the agent, which matches the service.name resource attribute in its traces. Specify exactly one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • serviceNames

      CloudWatchLogsSourceConfig.Builder serviceNames(String... serviceNames)

      The service name of the agent, which matches the service.name resource attribute in its traces. Specify exactly one.

      Parameters:
      serviceNames - The service name of the agent, which matches the service.name resource attribute in its traces. Specify exactly one.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • startTime

      The start of the time window to read sessions from. The default is 7 days before endTime.

      Parameters:
      startTime - The start of the time window to read sessions from. The default is 7 days before endTime.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • endTime

      The end of the time window to read sessions from. The default is the time the generation starts.

      Parameters:
      endTime - The end of the time window to read sessions from. The default is the time the generation starts.
      Returns:
      Returns a reference to this object so that method calls can be chained together.