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.booleanThe 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.RuleIdis one of two values:The start date and time and the end date and time of the range for which you wantGetSampledRequeststo return a sample of requests.TheWebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.inthashCode()voidsetMaxItems(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.voidRuleIdis one of two values:voidsetTimeWindow(TimeWindow timeWindow) The start date and time and the end date and time of the range for which you wantGetSampledRequeststo return a sample of requests.voidsetWebAclId(String webAclId) TheWebACLIdof theWebACLfor which you wantGetSampledRequeststo 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) RuleIdis one of two values:withTimeWindow(TimeWindow timeWindow) The start date and time and the end date and time of the range for which you wantGetSampledRequeststo return a sample of requests.withWebAclId(String webAclId) TheWebACLIdof theWebACLfor which you wantGetSampledRequeststo 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
WebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.- Parameters:
webAclId- TheWebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.
-
getWebAclId
The
WebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.- Returns:
- The
WebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.
-
withWebAclId
The
WebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.- Parameters:
webAclId- TheWebACLIdof theWebACLfor which you wantGetSampledRequeststo return a sample of requests.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setRuleId
RuleIdis one of two values:- The
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo 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
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo return a sample of the requests that didn't match any of the rules in the specifiedWebACL.
- The
- The
-
getRuleId
RuleIdis one of two values:- The
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo 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
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo return a sample of the requests that didn't match any of the rules in the specifiedWebACL.
- The
- The
-
withRuleId
RuleIdis one of two values:- The
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo 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
RuleIdof theRulefor which you wantGetSampledRequeststo return a sample of requests. Default_Action, which causesGetSampledRequeststo 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
GetSampledRequeststo 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 wantGetSampledRequeststo 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
GetSampledRequeststo 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
GetSampledRequeststo 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
GetSampledRequeststo 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 wantGetSampledRequeststo 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,GetSampledRequestsreturns 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,GetSampledRequestsreturns 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,GetSampledRequestsreturns 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,GetSampledRequestsreturns 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,GetSampledRequestsreturns 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,GetSampledRequestsreturns 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:AmazonWebServiceRequestCreates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clonein classAmazonWebServiceRequest- See Also:
-