StructuredPojo, ToCopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>@Generated("software.amazon.awssdk:codegen") public class SampledHTTPRequest extends Object implements StructuredPojo, ToCopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>
The response from a GetSampledRequests request includes a SampledHTTPRequests complex type that
appears as SampledRequests in the response syntax. SampledHTTPRequests contains one
SampledHTTPRequest object for each web request that is returned by GetSampledRequests.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
SampledHTTPRequest.Builder |
| Modifier and Type | Method | Description |
|---|---|---|
String |
action() |
The action for the
Rule that the request matched: ALLOW, BLOCK, or
COUNT. |
static SampledHTTPRequest.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller. |
HTTPRequest |
request() |
A complex type that contains detailed information about the request.
|
static Class<? extends SampledHTTPRequest.Builder> |
serializableBuilderClass() |
|
Date |
timestamp() |
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
|
SampledHTTPRequest.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
Long |
weight() |
A value that indicates how one result in the response relates proportionally to other results in the response.
|
public HTTPRequest request()
A complex type that contains detailed information about the request.
public Long weight()
A value that indicates how one result in the response relates proportionally to other results in the response. A
result that has a weight of 2 represents roughly twice as many CloudFront web requests as a result
that has a weight of 1.
2 represents roughly twice as many CloudFront web
requests as a result that has a weight of 1.public Date timestamp()
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
public String action()
The action for the Rule that the request matched: ALLOW, BLOCK, or
COUNT.
Rule that the request matched: ALLOW, BLOCK, or
COUNT.public SampledHTTPRequest.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<SampledHTTPRequest.Builder,SampledHTTPRequest>public static SampledHTTPRequest.Builder builder()
public static Class<? extends SampledHTTPRequest.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.