Interface GetTopPathStatisticsByTrafficResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetTopPathStatisticsByTrafficResponse.Builder,,GetTopPathStatisticsByTrafficResponse> SdkBuilder<GetTopPathStatisticsByTrafficResponse.Builder,,GetTopPathStatisticsByTrafficResponse> SdkPojo,SdkResponse.Builder,Wafv2Response.Builder
- Enclosing class:
GetTopPathStatisticsByTrafficResponse
-
Method Summary
Modifier and TypeMethodDescriptionnextMarker(String nextMarker) When you request a list of objects with aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response.pathStatistics(Collection<PathStatistics> pathStatistics) The list of path statistics, ordered by request count.pathStatistics(Consumer<PathStatistics.Builder>... pathStatistics) The list of path statistics, ordered by request count.pathStatistics(PathStatistics... pathStatistics) The list of path statistics, ordered by request count.topCategories(Collection<PathStatistics> topCategories) Category-level aggregations for visualizing bot category to path relationships.topCategories(Consumer<PathStatistics.Builder>... topCategories) Category-level aggregations for visualizing bot category to path relationships.topCategories(PathStatistics... topCategories) Category-level aggregations for visualizing bot category to path relationships.totalRequestCount(Long totalRequestCount) The total number of requests that match the query criteria within the specified time window.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponseMethods inherited from interface software.amazon.awssdk.services.wafv2.model.Wafv2Response.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
pathStatistics
GetTopPathStatisticsByTrafficResponse.Builder pathStatistics(Collection<PathStatistics> pathStatistics) The list of path statistics, ordered by request count. Each entry includes the path, request count, percentage of total traffic, and the top bots accessing that path.
- Parameters:
pathStatistics- The list of path statistics, ordered by request count. Each entry includes the path, request count, percentage of total traffic, and the top bots accessing that path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathStatistics
The list of path statistics, ordered by request count. Each entry includes the path, request count, percentage of total traffic, and the top bots accessing that path.
- Parameters:
pathStatistics- The list of path statistics, ordered by request count. Each entry includes the path, request count, percentage of total traffic, and the top bots accessing that path.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pathStatistics
GetTopPathStatisticsByTrafficResponse.Builder pathStatistics(Consumer<PathStatistics.Builder>... pathStatistics) The list of path statistics, ordered by request count. Each entry includes the path, request count, percentage of total traffic, and the top bots accessing that path.
This is a convenience method that creates an instance of thePathStatistics.Builderavoiding the need to create one manually viaPathStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topathStatistics(List<PathStatistics>).- Parameters:
pathStatistics- a consumer that will call methods onPathStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalRequestCount
The total number of requests that match the query criteria within the specified time window.
- Parameters:
totalRequestCount- The total number of requests that match the query criteria within the specified time window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextMarker
When you request a list of objects with a
Limitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Parameters:
nextMarker- When you request a list of objects with aLimitsetting, if the number of objects that are still available for retrieval exceeds the limit, WAF returns aNextMarkervalue in the response. To retrieve the next batch of objects, provide the marker from the prior call in your next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topCategories
GetTopPathStatisticsByTrafficResponse.Builder topCategories(Collection<PathStatistics> topCategories) Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. Each entry includes the bot category and the paths accessed by bots in that category.
- Parameters:
topCategories- Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. Each entry includes the bot category and the paths accessed by bots in that category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topCategories
Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. Each entry includes the bot category and the paths accessed by bots in that category.
- Parameters:
topCategories- Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. Each entry includes the bot category and the paths accessed by bots in that category.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
topCategories
GetTopPathStatisticsByTrafficResponse.Builder topCategories(Consumer<PathStatistics.Builder>... topCategories) Category-level aggregations for visualizing bot category to path relationships. This field is only populated when no bot filters are applied to the request. Each entry includes the bot category and the paths accessed by bots in that category.
This is a convenience method that creates an instance of thePathStatistics.Builderavoiding the need to create one manually viaPathStatistics.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totopCategories(List<PathStatistics>).- Parameters:
topCategories- a consumer that will call methods onPathStatistics.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-