Class GetSampledRequestsRequest
- All Implemented Interfaces:
ReadLimitInfo
,Serializable
,Cloneable
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
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.RuleId
is one of two values:The start date and time and the end date and time of the range for which you wantGetSampledRequests
to return a sample of requests.TheWebACLId
of theWebACL
for which you wantGetSampledRequests
to return 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
RuleId
is one of two values:void
setTimeWindow
(TimeWindow timeWindow) The start date and time and the end date and time of the range for which you wantGetSampledRequests
to return a sample of requests.void
setWebAclId
(String webAclId) TheWebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.toString()
Returns a string representation of this object; useful for testing and debugging.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.withRuleId
(String ruleId) RuleId
is one of two values:withTimeWindow
(TimeWindow timeWindow) The start date and time and the end date and time of the range for which you wantGetSampledRequests
to return a sample of requests.withWebAclId
(String webAclId) TheWebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
-
Constructor Details
-
GetSampledRequestsRequest
public GetSampledRequestsRequest()
-
-
Method Details
-
setWebAclId
The
WebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.- Parameters:
webAclId
- TheWebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.
-
getWebAclId
The
WebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.- Returns:
- The
WebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.
-
withWebAclId
The
WebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.- Parameters:
webAclId
- TheWebACLId
of theWebACL
for which you wantGetSampledRequests
to return a sample of requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRuleId
RuleId
is one of two values:- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- Parameters:
ruleId
- RuleId is one of two values:- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- The
- The
-
getRuleId
RuleId
is one of two values:- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- Returns:
- RuleId is one of two values:
- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- The
- The
-
withRuleId
RuleId
is one of two values:- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- Parameters:
ruleId
- RuleId is one of two values:- The
RuleId
of theRule
for which you wantGetSampledRequests
to return a sample of requests. Default_Action
, which causesGetSampledRequests
to return a sample of the requests that didn't match any of the rules in the specifiedWebACL
.
- The
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- The
-
setTimeWindow
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. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.- Parameters:
timeWindow
- The start date and time and the end date and time of the range for which you wantGetSampledRequests
to return a sample of requests. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.
-
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. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.- Returns:
- 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. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.
-
withTimeWindow
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. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.- Parameters:
timeWindow
- The start date and time and the end date and time of the range for which you wantGetSampledRequests
to return a sample of requests. Specify the date and time in Unix time format (in seconds). You can specify any time range in the previous three hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMaxItems
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.- Parameters:
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 ofMaxItems
,GetSampledRequests
returns information about all of them.
-
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.- Returns:
- 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.
-
withMaxItems
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.- Parameters:
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 ofMaxItems
,GetSampledRequests
returns information about all of them.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-