Class HTTPHeader
java.lang.Object
software.amazon.awssdk.services.wafv2.model.HTTPHeader
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>
@Generated("software.amazon.awssdk:codegen")
public final class HTTPHeader
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>
Part of the response from GetSampledRequests. This is a 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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic HTTPHeader.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringname()The name of the HTTP header.static Class<? extends HTTPHeader.Builder>final StringtoString()Returns a string representation of this object.final Stringvalue()The value of the HTTP header.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
name
The name of the HTTP header.
- Returns:
- The name of the HTTP header.
-
value
The value of the HTTP header.
- Returns:
- The value of the HTTP header.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<HTTPHeader.Builder,HTTPHeader>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-