@Generated(value="software.amazon.awssdk:codegen") public final class HTTPHeader extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>
This is AWS WAF Classic documentation. For more information, see AWS WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints for regional and global use.
The response from a GetSampledRequests request includes an HTTPHeader complex type that appears
as Headers in the response syntax. HTTPHeader contains the names and values of all of the
headers that appear in one of the web requests that were returned by GetSampledRequests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HTTPHeader.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HTTPHeader.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
The name of one of the headers in the sampled web request.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HTTPHeader.Builder> |
serializableBuilderClass() |
HTTPHeader.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
value()
The value of one of the headers in the sampled web request.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String name()
The name of one of the headers in the sampled web request.
public final String value()
The value of one of the headers in the sampled web request.
public HTTPHeader.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>public static HTTPHeader.Builder builder()
public static Class<? extends HTTPHeader.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.