Interface PathStatistics.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PathStatistics.Builder,,PathStatistics> SdkBuilder<PathStatistics.Builder,,PathStatistics> SdkPojo
- Enclosing class:
PathStatistics
-
Method Summary
Modifier and TypeMethodDescriptionThe URI path.percentage(Double percentage) The percentage of total requests that were made to this path.requestCount(Long requestCount) The number of requests to this path within the specified time window.default PathStatistics.Buildersource(Consumer<FilterSource.Builder> source) Information about the bot filter that was applied to generate these statistics.source(FilterSource source) Information about the bot filter that was applied to generate these statistics.topBots(Collection<BotStatistics> topBots) The list of top bots accessing this path, ordered by request count.topBots(Consumer<BotStatistics.Builder>... topBots) The list of top bots accessing this path, ordered by request count.topBots(BotStatistics... topBots) The list of top bots accessing this path, ordered by request count.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
source
Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.
- Parameters:
source- Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Information about the bot filter that was applied to generate these statistics. This field is only populated when you filter by bot category, organization, or name.
This is a convenience method that creates an instance of theFilterSource.Builderavoiding the need to create one manually viaFilterSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosource(FilterSource).- Parameters:
source- a consumer that will call methods onFilterSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
path
The URI path. For example,
/api/or/api/v1/users.- Parameters:
path- The URI path. For example,/api/or/api/v1/users.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestCount
The number of requests to this path within the specified time window.
- Parameters:
requestCount- The number of requests to this path within the specified time window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
percentage
The percentage of total requests that were made to this path.
- Parameters:
percentage- The percentage of total requests that were made to this path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topBots
The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the
NumberOfTopTrafficBotsPerPathparameter in the request.- Parameters:
topBots- The list of top bots accessing this path, ordered by request count. The number of bots included is determined by theNumberOfTopTrafficBotsPerPathparameter in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topBots
The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the
NumberOfTopTrafficBotsPerPathparameter in the request.- Parameters:
topBots- The list of top bots accessing this path, ordered by request count. The number of bots included is determined by theNumberOfTopTrafficBotsPerPathparameter in the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topBots
The list of top bots accessing this path, ordered by request count. The number of bots included is determined by the
This is a convenience method that creates an instance of theNumberOfTopTrafficBotsPerPathparameter in the request.BotStatistics.Builderavoiding the need to create one manually viaBotStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopBots(List<BotStatistics>).- Parameters:
topBots- a consumer that will call methods onBotStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-