Class BotStatistics
java.lang.Object
software.amazon.awssdk.services.wafv2.model.BotStatistics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<BotStatistics.Builder,BotStatistics>
@Generated("software.amazon.awssdk:codegen")
public final class BotStatistics
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<BotStatistics.Builder,BotStatistics>
Statistics about a specific bot's traffic to a path, including the bot name, request count, and percentage of traffic.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringbotName()The name of the bot.static BotStatistics.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final DoubleThe percentage of total requests to the associated path that came from this bot.final LongThe number of requests from this bot to the associated path within the specified time window.static Class<? extends BotStatistics.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
botName
The name of the bot. For example,
gptbotorgooglebot.- Returns:
- The name of the bot. For example,
gptbotorgooglebot.
-
requestCount
The number of requests from this bot to the associated path within the specified time window.
- Returns:
- The number of requests from this bot to the associated path within the specified time window.
-
percentage
The percentage of total requests to the associated path that came from this bot.
- Returns:
- The percentage of total requests to the associated path that came from this bot.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<BotStatistics.Builder,BotStatistics>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-