@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 |
getRuleId()
RuleId is one of three values: |
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 |
getWebAclId()
The
WebACLId of the WebACL for which you want GetSampledRequests 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 |
setRuleId(String ruleId)
RuleId is one of three values: |
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 |
setWebAclId(String webAclId)
The
WebACLId of the WebACL for which you want GetSampledRequests to return
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 |
withRuleId(String ruleId)
RuleId is one of three values: |
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 |
withWebAclId(String webAclId)
The
WebACLId of the WebACL for which you want GetSampledRequests to return
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, withSdkRequestTimeoutpublic void setWebAclId(String webAclId)
The WebACLId of the WebACL for which you want GetSampledRequests to return
a sample of requests.
webAclId - The WebACLId of the WebACL for which you want GetSampledRequests to
return a sample of requests.public String getWebAclId()
The WebACLId of the WebACL for which you want GetSampledRequests to return
a sample of requests.
WebACLId of the WebACL for which you want GetSampledRequests
to return a sample of requests.public GetSampledRequestsRequest withWebAclId(String webAclId)
The WebACLId of the WebACL for which you want GetSampledRequests to return
a sample of requests.
webAclId - The WebACLId of the WebACL for which you want GetSampledRequests to
return a sample of requests.public void setRuleId(String ruleId)
RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the RuleGroup
for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the requests that
didn't match any of the rules in the specified WebACL.
ruleId - RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the
RuleGroup for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the
requests that didn't match any of the rules in the specified WebACL.
public String getRuleId()
RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the RuleGroup
for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the requests that
didn't match any of the rules in the specified WebACL.
RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the
RuleGroup for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the
requests that didn't match any of the rules in the specified WebACL.
public GetSampledRequestsRequest withRuleId(String ruleId)
RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the RuleGroup
for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the requests that
didn't match any of the rules in the specified WebACL.
ruleId - RuleId is one of three values:
The RuleId of the Rule or the RuleGroupId of the
RuleGroup for which you want GetSampledRequests to return a sample of requests.
Default_Action, which causes GetSampledRequests to return a sample of the
requests that didn't match any of the rules in the specified WebACL.
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 ObjectObject.toString()public GetSampledRequestsRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()