Interface BotStatistics.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BotStatistics.Builder,BotStatistics>, SdkBuilder<BotStatistics.Builder,BotStatistics>, SdkPojo
Enclosing class:
BotStatistics

@Mutable @NotThreadSafe public static interface BotStatistics.Builder extends SdkPojo, CopyableBuilder<BotStatistics.Builder,BotStatistics>
  • Method Details

    • botName

      BotStatistics.Builder botName(String botName)

      The name of the bot. For example, gptbot or googlebot.

      Parameters:
      botName - The name of the bot. For example, gptbot or googlebot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • requestCount

      BotStatistics.Builder requestCount(Long requestCount)

      The number of requests from this bot to the associated path within the specified time window.

      Parameters:
      requestCount - The number of requests from this bot to the associated path within the specified time window.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • percentage

      BotStatistics.Builder percentage(Double percentage)

      The percentage of total requests to the associated path that came from this bot.

      Parameters:
      percentage - The percentage of total requests to the associated path that came from this bot.
      Returns:
      Returns a reference to this object so that method calls can be chained together.