@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSampledRequestsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetSampledRequestsRequest() |
Modifier and Type | Method and Description |
---|---|
GetSampledRequestsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getMaxItems()
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource
received during the time range.
|
String |
getRuleMetricName()
The metric name assigned to the
Rule or RuleGroup for which you want a sample of
requests. |
String |
getScope()
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
TimeWindow |
getTimeWindow()
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. |
String |
getWebAclArn()
The Amazon resource name (ARN) of the
WebACL for which you want a sample of requests. |
int |
hashCode() |
void |
setMaxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource
received during the time range.
|
void |
setRuleMetricName(String ruleMetricName)
The metric name assigned to the
Rule or RuleGroup for which you want a sample of
requests. |
void |
setScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
void |
setTimeWindow(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. |
void |
setWebAclArn(String webAclArn)
The Amazon resource name (ARN) of the
WebACL for which you want a sample of requests. |
String |
toString()
Returns a string representation of this object.
|
GetSampledRequestsRequest |
withMaxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS resource
received during the time range.
|
GetSampledRequestsRequest |
withRuleMetricName(String ruleMetricName)
The metric name assigned to the
Rule or RuleGroup for which you want a sample of
requests. |
GetSampledRequestsRequest |
withScope(Scope scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
GetSampledRequestsRequest |
withScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application.
|
GetSampledRequestsRequest |
withTimeWindow(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 |
withWebAclArn(String webAclArn)
The Amazon resource name (ARN) of the
WebACL for which you want a sample of requests. |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setWebAclArn(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.public String getWebAclArn()
The Amazon resource name (ARN) of the WebACL
for which you want a sample of requests.
WebACL
for which you want a sample of requests.public GetSampledRequestsRequest withWebAclArn(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.public void setRuleMetricName(String ruleMetricName)
The metric name assigned to the Rule
or RuleGroup
for which you want a sample of
requests.
ruleMetricName
- The metric name assigned to the Rule
or RuleGroup
for which you want a sample of
requests.public String getRuleMetricName()
The metric name assigned to the Rule
or RuleGroup
for which you want a sample of
requests.
Rule
or RuleGroup
for which you want a sample
of requests.public GetSampledRequestsRequest withRuleMetricName(String ruleMetricName)
The metric name assigned to the Rule
or RuleGroup
for which you want a sample of
requests.
ruleMetricName
- The metric name assigned to the Rule
or RuleGroup
for which you want a sample of
requests.public void setScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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 AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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
public String getScope()
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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.
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
public GetSampledRequestsRequest withScope(String scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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 AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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
public GetSampledRequestsRequest withScope(Scope scope)
Specifies whether this is for an AWS CloudFront distribution or for a regional application. A regional application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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 AWS CloudFront distribution or for a regional application. A regional
application can be an Application Load Balancer (ALB), an API Gateway REST API, or an AppSync GraphQL API.
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
public void setTimeWindow(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.
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.public TimeWindow getTimeWindow()
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.
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.public GetSampledRequestsRequest withTimeWindow(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.
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.public void setMaxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS 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 AWS WAF to return from among the first 5,000 requests that your AWS
resource received during the time range. If your resource received fewer requests than the value of
MaxItems
, GetSampledRequests
returns information about all of them.public Long getMaxItems()
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS 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
, GetSampledRequests
returns information about all of them.public GetSampledRequestsRequest withMaxItems(Long maxItems)
The number of requests that you want AWS WAF to return from among the first 5,000 requests that your AWS 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 AWS WAF to return from among the first 5,000 requests that your AWS
resource received during the time range. If your resource received fewer requests than the value of
MaxItems
, GetSampledRequests
returns information about all of them.public String toString()
toString
in class Object
Object.toString()
public GetSampledRequestsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()