public static interface GetSampledRequestsRequest.Builder extends Wafv2Request.Builder, SdkPojo, CopyableBuilder<GetSampledRequestsRequest.Builder,GetSampledRequestsRequest>
| Modifier and Type | Method and Description |
|---|---|
GetSampledRequestsRequest.Builder |
maxItems(Long maxItems)
The number of requests that you want WAF to return from among the first 5,000 requests that your Amazon Web
Services resource received during the time range.
|
GetSampledRequestsRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetSampledRequestsRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
GetSampledRequestsRequest.Builder |
ruleMetricName(String ruleMetricName)
The metric name assigned to the
Rule or RuleGroup dimension for which you want a
sample of requests. |
GetSampledRequestsRequest.Builder |
scope(Scope scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
|
GetSampledRequestsRequest.Builder |
scope(String scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application.
|
default GetSampledRequestsRequest.Builder |
timeWindow(Consumer<TimeWindow.Builder> timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. |
GetSampledRequestsRequest.Builder |
timeWindow(TimeWindow timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. |
GetSampledRequestsRequest.Builder |
webAclArn(String webAclArn)
The Amazon resource name (ARN) of the
WebACL for which you want a sample of requests. |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSampledRequestsRequest.Builder webAclArn(String webAclArn)
The Amazon resource name (ARN) of the WebACL for which you want a sample of requests.
webAclArn - The Amazon resource name (ARN) of the WebACL for which you want a sample of requests.GetSampledRequestsRequest.Builder ruleMetricName(String ruleMetricName)
The metric name assigned to the Rule or RuleGroup dimension for which you want a
sample of requests.
ruleMetricName - The metric name assigned to the Rule or RuleGroup dimension for which you
want a sample of requests.GetSampledRequestsRequest.Builder scope(String scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
scope - Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A
regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an
AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services
Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope,
ScopeGetSampledRequestsRequest.Builder scope(Scope scope)
Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
scope - Specifies whether this is for an Amazon CloudFront distribution or for a regional application. A
regional application can be an Application Load Balancer (ALB), an Amazon API Gateway REST API, an
AppSync GraphQL API, an Amazon Cognito user pool, an App Runner service, or an Amazon Web Services
Verified Access instance.
To work with CloudFront, you must also specify the Region US East (N. Virginia) as follows:
CLI - Specify the Region when you use the CloudFront scope:
--scope=CLOUDFRONT --region=us-east-1.
API and SDKs - For all calls, use the Region endpoint us-east-1.
Scope,
ScopeGetSampledRequestsRequest.Builder timeWindow(TimeWindow timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. You must specify the times in Coordinated
Universal Time (UTC) format. UTC format includes the special designator, Z. For example,
"2016-09-27T14:50Z". You can specify any time range in the previous three hours. If you specify
a start time that's earlier than three hours ago, WAF sets it to three hours ago.
timeWindow - The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. You must specify the times in
Coordinated Universal Time (UTC) format. UTC format includes the special designator, Z.
For example, "2016-09-27T14:50Z". You can specify any time range in the previous three
hours. If you specify a start time that's earlier than three hours ago, WAF sets it to three hours
ago.default GetSampledRequestsRequest.Builder timeWindow(Consumer<TimeWindow.Builder> timeWindow)
The start date and time and the end date and time of the range for which you want
GetSampledRequests to return a sample of requests. You must specify the times in Coordinated
Universal Time (UTC) format. UTC format includes the special designator, Z. For example,
"2016-09-27T14:50Z". You can specify any time range in the previous three hours. If you specify
a start time that's earlier than three hours ago, WAF sets it to three hours ago.
TimeWindow.Builder avoiding the need to
create one manually via TimeWindow.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to timeWindow(TimeWindow).
timeWindow - a consumer that will call methods on TimeWindow.BuildertimeWindow(TimeWindow)GetSampledRequestsRequest.Builder maxItems(Long maxItems)
The number of requests that you want WAF to return from among the first 5,000 requests that your Amazon Web
Services resource received during the time range. If your resource received fewer requests than the value of
MaxItems, GetSampledRequests returns information about all of them.
maxItems - The number of requests that you want WAF to return from among the first 5,000 requests that your
Amazon Web Services resource received during the time range. If your resource received fewer requests
than the value of MaxItems, GetSampledRequests returns information about all
of them.GetSampledRequestsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetSampledRequestsRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.