Interface GetTopPathStatisticsByTrafficRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<GetTopPathStatisticsByTrafficRequest.Builder,,GetTopPathStatisticsByTrafficRequest> SdkBuilder<GetTopPathStatisticsByTrafficRequest.Builder,,GetTopPathStatisticsByTrafficRequest> SdkPojo,SdkRequest.Builder,Wafv2Request.Builder
- Enclosing class:
GetTopPathStatisticsByTrafficRequest
-
Method Summary
Modifier and TypeMethodDescriptionbotCategory(String botCategory) Filters the results to include only traffic from bots in the specified category.Filters the results to include only traffic from the specified bot.botOrganization(String botOrganization) Filters the results to include only traffic from bots belonging to the specified organization.The maximum number of path statistics to return.nextMarker(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.numberOfTopTrafficBotsPerPath(Integer numberOfTopTrafficBotsPerPath) The maximum number of top bots to include in the statistics for each path.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application.Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application.timeWindow(Consumer<TimeWindow.Builder> timeWindow) The time window for which you want to retrieve path statistics.timeWindow(TimeWindow timeWindow) The time window for which you want to retrieve path statistics.uriPathPrefix(String uriPathPrefix) A URI path prefix to filter the results.The Amazon Resource Name (ARN) of the web ACL for which you want to retrieve path statistics.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods 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.services.wafv2.model.Wafv2Request.Builder
build
-
Method Details
-
webAclArn
The Amazon Resource Name (ARN) of the web ACL for which you want to retrieve path statistics.
- Parameters:
webAclArn- The Amazon Resource Name (ARN) of the web ACL for which you want to retrieve path statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scope
Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.
- Parameters:
scope- Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scope
Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.
- Parameters:
scope- Specifies whether the web ACL is for an Amazon Web Services CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer, an AppSync GraphQL API, an Amazon Cognito user pool, an Amazon Web Services App Runner service, or an Amazon Web Services Verified Access instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
uriPathPrefix
A URI path prefix to filter the results. When you specify this parameter, the operation returns statistics for individual URIs within the specified path prefix. For example, if you specify
/api, the response includes statistics for paths like/api/v1/usersand/api/v2/orders. If you don't specify this parameter, the operation returns top-level path statistics.- Parameters:
uriPathPrefix- A URI path prefix to filter the results. When you specify this parameter, the operation returns statistics for individual URIs within the specified path prefix. For example, if you specify/api, the response includes statistics for paths like/api/v1/usersand/api/v2/orders. If you don't specify this parameter, the operation returns top-level path statistics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeWindow
The time window for which you want to retrieve path statistics. The time window must be within the data retention period for your web ACL.
- Parameters:
timeWindow- The time window for which you want to retrieve path statistics. The time window must be within the data retention period for your web ACL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeWindow
default GetTopPathStatisticsByTrafficRequest.Builder timeWindow(Consumer<TimeWindow.Builder> timeWindow) The time window for which you want to retrieve path statistics. The time window must be within the data retention period for your web ACL.
This is a convenience method that creates an instance of theTimeWindow.Builderavoiding the need to create one manually viaTimeWindow.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimeWindow(TimeWindow).- Parameters:
timeWindow- a consumer that will call methods onTimeWindow.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
botCategory
Filters the results to include only traffic from bots in the specified category. For example, you can filter by
aito see only AI crawler traffic, orsearch_engineto see only search engine bot traffic. When you apply this filter, theSourcefield is populated in the response.- Parameters:
botCategory- Filters the results to include only traffic from bots in the specified category. For example, you can filter byaito see only AI crawler traffic, orsearch_engineto see only search engine bot traffic. When you apply this filter, theSourcefield is populated in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botOrganization
Filters the results to include only traffic from bots belonging to the specified organization. For example, you can filter by
openaiorgoogle. When you apply this filter, theSourcefield is populated in the response.- Parameters:
botOrganization- Filters the results to include only traffic from bots belonging to the specified organization. For example, you can filter byopenaiorgoogle. When you apply this filter, theSourcefield is populated in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
botName
Filters the results to include only traffic from the specified bot. For example, you can filter by
gptbotorgooglebot. When you apply this filter, theSourcefield is populated in the response.- Parameters:
botName- Filters the results to include only traffic from the specified bot. For example, you can filter bygptbotorgooglebot. When you apply this filter, theSourcefield is populated in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
limit
The maximum number of path statistics to return. Valid values are 1 to 100.
- Parameters:
limit- The maximum number of path statistics to return. Valid values are 1 to 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfTopTrafficBotsPerPath
GetTopPathStatisticsByTrafficRequest.Builder numberOfTopTrafficBotsPerPath(Integer numberOfTopTrafficBotsPerPath) The maximum number of top bots to include in the statistics for each path. Valid values are 1 to 10.
- Parameters:
numberOfTopTrafficBotsPerPath- The maximum number of top bots to include in the statistics for each path. Valid values are 1 to 10.- 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.
-
overrideConfiguration
GetTopPathStatisticsByTrafficRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
GetTopPathStatisticsByTrafficRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-