Interface LogsConfigurationPolicy.Builder

  • Method Details

    • allowedAccountIds

      LogsConfigurationPolicy.Builder allowedAccountIds(Collection<String> allowedAccountIds)

      A list of account IDs that are allowed to access the logs.

      Parameters:
      allowedAccountIds - A list of account IDs that are allowed to access the logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • allowedAccountIds

      LogsConfigurationPolicy.Builder allowedAccountIds(String... allowedAccountIds)

      A list of account IDs that are allowed to access the logs.

      Parameters:
      allowedAccountIds - A list of account IDs that are allowed to access the logs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • filterPattern

      LogsConfigurationPolicy.Builder filterPattern(String filterPattern)

      A regular expression pattern that is used to parse the logs and return information that matches the pattern.

      Parameters:
      filterPattern - A regular expression pattern that is used to parse the logs and return information that matches the pattern.
      Returns:
      Returns a reference to this object so that method calls can be chained together.